pub enum TypedObject {
ObservedData(ObservedData),
}Expand description
The set of types with dedicated typed structs. Additive: new variants slot in
here and in StixObject::from_json’s dispatch.
Variants§
ObservedData(ObservedData)
The STIX observed-data SDO.
Trait Implementations§
Source§impl Clone for TypedObject
impl Clone for TypedObject
Source§fn clone(&self) -> TypedObject
fn clone(&self) -> TypedObject
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 TypedObject
impl Debug for TypedObject
Source§impl ObjectView for TypedObject
impl ObjectView for TypedObject
Source§impl PartialEq for TypedObject
impl PartialEq for TypedObject
Source§fn eq(&self, other: &TypedObject) -> bool
fn eq(&self, other: &TypedObject) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TypedObject
Auto Trait Implementations§
impl Freeze for TypedObject
impl RefUnwindSafe for TypedObject
impl Send for TypedObject
impl Sync for TypedObject
impl Unpin for TypedObject
impl UnsafeUnpin for TypedObject
impl UnwindSafe for TypedObject
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