pub struct Observable {
pub name: String,
pub value: String,
pub type_id: u8,
pub type: Option<String>,
}Expand description
OCSF Observable object — a key-value pair identifying something observed.
Fields§
§name: StringHuman-readable name of the observable.
value: StringObservable value.
type_id: u8Observable type ID.
type: Option<String>Human-readable type label.
Trait Implementations§
Source§impl Clone for Observable
impl Clone for Observable
Source§fn clone(&self) -> Observable
fn clone(&self) -> Observable
Returns a duplicate of the value. Read more
1.0.0 · 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 Observable
impl Debug for Observable
Source§impl<'de> Deserialize<'de> for Observable
impl<'de> Deserialize<'de> for Observable
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 Observable
impl PartialEq for Observable
Source§impl Serialize for Observable
impl Serialize for Observable
impl Eq for Observable
impl StructuralPartialEq for Observable
Auto Trait Implementations§
impl Freeze for Observable
impl RefUnwindSafe for Observable
impl Send for Observable
impl Sync for Observable
impl Unpin for Observable
impl UnsafeUnpin for Observable
impl UnwindSafe for Observable
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