pub struct Bundle {
pub type_: String,
pub id: Option<String>,
pub objects: Vec<StixObject>,
}Expand description
A STIX bundle: a type: "bundle" envelope around a list of objects.
Fields§
§type_: StringThe STIX type property (always bundle).
id: Option<String>The bundle’s id, if present.
objects: Vec<StixObject>The objects the bundle contains.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Bundle
impl<'de> Deserialize<'de> for Bundle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for Bundle
impl !UnwindSafe for Bundle
impl Freeze for Bundle
impl Send for Bundle
impl Sync for Bundle
impl Unpin for Bundle
impl UnsafeUnpin for Bundle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more