pub struct StringOccurrence {
pub file_path: String,
pub file_hash: String,
pub tool_name: String,
pub timestamp: DateTime<Utc>,
pub context: StringContext,
}Expand description
Record of one string occurrence.
Fields§
§file_path: StringPath to the source file.
file_hash: StringHash or stable identity of the source file.
tool_name: StringTool that produced the observation.
timestamp: DateTime<Utc>Caller-supplied event timestamp.
context: StringContextContext in which the value was observed.
Implementations§
Trait Implementations§
Source§impl Clone for StringOccurrence
impl Clone for StringOccurrence
Source§fn clone(&self) -> StringOccurrence
fn clone(&self) -> StringOccurrence
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 StringOccurrence
impl Debug for StringOccurrence
Source§impl<'de> Deserialize<'de> for StringOccurrence
impl<'de> Deserialize<'de> for StringOccurrence
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
impl Eq for StringOccurrence
Source§impl PartialEq for StringOccurrence
impl PartialEq for StringOccurrence
Source§impl Serialize for StringOccurrence
impl Serialize for StringOccurrence
impl StructuralPartialEq for StringOccurrence
Auto Trait Implementations§
impl Freeze for StringOccurrence
impl RefUnwindSafe for StringOccurrence
impl Send for StringOccurrence
impl Sync for StringOccurrence
impl Unpin for StringOccurrence
impl UnsafeUnpin for StringOccurrence
impl UnwindSafe for StringOccurrence
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