pub struct CharterFile {
pub name: String,
pub type_id: u8,
}Expand description
The agent config-state identity block bound into every event (Module E, PR #1 pattern: version + charter + instance_uid).
Fields§
§name: StringCharter document file name.
type_id: u8OCSF File type id 1, Regular File.
Trait Implementations§
Source§impl Clone for CharterFile
impl Clone for CharterFile
Source§fn clone(&self) -> CharterFile
fn clone(&self) -> CharterFile
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 CharterFile
impl Debug for CharterFile
Source§impl<'de> Deserialize<'de> for CharterFile
impl<'de> Deserialize<'de> for CharterFile
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 From<&str> for CharterFile
impl From<&str> for CharterFile
Source§impl From<String> for CharterFile
impl From<String> for CharterFile
Source§impl PartialEq for CharterFile
impl PartialEq for CharterFile
Source§fn eq(&self, other: &CharterFile) -> bool
fn eq(&self, other: &CharterFile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CharterFile
impl Serialize for CharterFile
impl Eq for CharterFile
impl StructuralPartialEq for CharterFile
Auto Trait Implementations§
impl Freeze for CharterFile
impl RefUnwindSafe for CharterFile
impl Send for CharterFile
impl Sync for CharterFile
impl Unpin for CharterFile
impl UnsafeUnpin for CharterFile
impl UnwindSafe for CharterFile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.