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 a single string occurrence
Fields§
§file_path: String
Path to the file where the string was found
file_hash: String
Hash of the file where the string was found
tool_name: String
Name of the tool that discovered this string
timestamp: DateTime<Utc>
Timestamp when the string was discovered
context: StringContext
Context in which the string was found
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 · 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
Auto Trait Implementations§
impl Freeze for StringOccurrence
impl RefUnwindSafe for StringOccurrence
impl Send for StringOccurrence
impl Sync for StringOccurrence
impl Unpin 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