pub struct GenericObject { /* private fields */ }Expand description
A STIX object stored as a flat property map. Used for any object type without a dedicated typed struct, and retains all properties (including custom ones).
Implementations§
Trait Implementations§
Source§impl Clone for GenericObject
impl Clone for GenericObject
Source§fn clone(&self) -> GenericObject
fn clone(&self) -> GenericObject
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GenericObject
impl Debug for GenericObject
Source§impl ObjectView for GenericObject
impl ObjectView for GenericObject
Source§impl PartialEq for GenericObject
impl PartialEq for GenericObject
Source§fn eq(&self, other: &GenericObject) -> bool
fn eq(&self, other: &GenericObject) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GenericObject
Auto Trait Implementations§
impl Freeze for GenericObject
impl RefUnwindSafe for GenericObject
impl Send for GenericObject
impl Sync for GenericObject
impl Unpin for GenericObject
impl UnsafeUnpin for GenericObject
impl UnwindSafe for GenericObject
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