pub struct CommonProperties { /* private fields */ }Trait Implementations§
Source§impl AsRef<CommonProperties> for AttackPattern
impl AsRef<CommonProperties> for AttackPattern
Source§fn as_ref(&self) -> &CommonProperties
fn as_ref(&self) -> &CommonProperties
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<CommonProperties> for Campaign
impl AsRef<CommonProperties> for Campaign
Source§fn as_ref(&self) -> &CommonProperties
fn as_ref(&self) -> &CommonProperties
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<CommonProperties> for CourseOfAction
impl AsRef<CommonProperties> for CourseOfAction
Source§fn as_ref(&self) -> &CommonProperties
fn as_ref(&self) -> &CommonProperties
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<CommonProperties> for Identity
impl AsRef<CommonProperties> for Identity
Source§fn as_ref(&self) -> &CommonProperties
fn as_ref(&self) -> &CommonProperties
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<CommonProperties> for Infrastructure
impl AsRef<CommonProperties> for Infrastructure
Source§fn as_ref(&self) -> &CommonProperties
fn as_ref(&self) -> &CommonProperties
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<CommonProperties> for IntrusionSet
impl AsRef<CommonProperties> for IntrusionSet
Source§fn as_ref(&self) -> &CommonProperties
fn as_ref(&self) -> &CommonProperties
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<CommonProperties> for Location
impl AsRef<CommonProperties> for Location
Source§fn as_ref(&self) -> &CommonProperties
fn as_ref(&self) -> &CommonProperties
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<CommonProperties> for Malware
impl AsRef<CommonProperties> for Malware
Source§fn as_ref(&self) -> &CommonProperties
fn as_ref(&self) -> &CommonProperties
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<CommonProperties> for MarkingDefinition
impl AsRef<CommonProperties> for MarkingDefinition
Source§fn as_ref(&self) -> &CommonProperties
fn as_ref(&self) -> &CommonProperties
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl<D: AsRef<CommonProperties>> AsRef<CommonProperties> for Node<'_, D>
impl<D: AsRef<CommonProperties>> AsRef<CommonProperties> for Node<'_, D>
Source§fn as_ref(&self) -> &CommonProperties
fn as_ref(&self) -> &CommonProperties
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<CommonProperties> for Relationship
impl AsRef<CommonProperties> for Relationship
Source§fn as_ref(&self) -> &CommonProperties
fn as_ref(&self) -> &CommonProperties
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<CommonProperties> for ThreatActor
impl AsRef<CommonProperties> for ThreatActor
Source§fn as_ref(&self) -> &CommonProperties
fn as_ref(&self) -> &CommonProperties
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<CommonProperties> for Tool
impl AsRef<CommonProperties> for Tool
Source§fn as_ref(&self) -> &CommonProperties
fn as_ref(&self) -> &CommonProperties
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<CommonProperties> for Vulnerability
impl AsRef<CommonProperties> for Vulnerability
Source§fn as_ref(&self) -> &CommonProperties
fn as_ref(&self) -> &CommonProperties
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl<'de> Deserialize<'de> for CommonProperties
impl<'de> Deserialize<'de> for CommonProperties
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
Source§impl Object for CommonProperties
impl Object for CommonProperties
fn id(&self) -> &Id
fn created_by_ref(&self) -> Option<&Id>
fn external_references(&self) -> &[ExternalReference]
fn created(&self) -> Option<&DateTime<Utc>>
fn modified(&self) -> Option<&DateTime<Utc>>
fn revoked(&self) -> bool
fn labels(&self) -> &BTreeSet<String>
fn object_marking_refs(&self) -> &BTreeSet<Id>
Auto Trait Implementations§
impl Freeze for CommonProperties
impl RefUnwindSafe for CommonProperties
impl Send for CommonProperties
impl Sync for CommonProperties
impl Unpin for CommonProperties
impl UnwindSafe for CommonProperties
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