pub struct ObjectPath {
pub object_type: String,
pub steps: Vec<PathStep>,
}Expand description
An object path: object-type:first.step[0].next.
Fields§
§object_type: StringThe STIX object type before the colon (e.g. file).
steps: Vec<PathStep>The property steps after the colon, in order.
Trait Implementations§
Source§impl Clone for ObjectPath
impl Clone for ObjectPath
Source§fn clone(&self) -> ObjectPath
fn clone(&self) -> ObjectPath
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 ObjectPath
impl Debug for ObjectPath
Source§impl<'de> Deserialize<'de> for ObjectPath
impl<'de> Deserialize<'de> for ObjectPath
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 PartialEq for ObjectPath
impl PartialEq for ObjectPath
Source§fn eq(&self, other: &ObjectPath) -> bool
fn eq(&self, other: &ObjectPath) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ObjectPath
impl Serialize for ObjectPath
impl StructuralPartialEq for ObjectPath
Auto Trait Implementations§
impl Freeze for ObjectPath
impl RefUnwindSafe for ObjectPath
impl Send for ObjectPath
impl Sync for ObjectPath
impl Unpin for ObjectPath
impl UnsafeUnpin for ObjectPath
impl UnwindSafe for ObjectPath
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