pub struct HashBaseline {
pub timestamp: String,
pub files: HashMap<String, String>,
}Expand description
SHA-256 baseline of tracked files for drift/integrity checking.
Fields§
§timestamp: String§files: HashMap<String, String>path -> hex SHA-256.
Trait Implementations§
Source§impl Clone for HashBaseline
impl Clone for HashBaseline
Source§fn clone(&self) -> HashBaseline
fn clone(&self) -> HashBaseline
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 HashBaseline
impl Debug for HashBaseline
Source§impl Default for HashBaseline
impl Default for HashBaseline
Source§fn default() -> HashBaseline
fn default() -> HashBaseline
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HashBaseline
impl<'de> Deserialize<'de> for HashBaseline
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 HashBaseline
impl PartialEq for HashBaseline
Source§fn eq(&self, other: &HashBaseline) -> bool
fn eq(&self, other: &HashBaseline) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HashBaseline
impl Serialize for HashBaseline
impl StructuralPartialEq for HashBaseline
Auto Trait Implementations§
impl Freeze for HashBaseline
impl RefUnwindSafe for HashBaseline
impl Send for HashBaseline
impl Sync for HashBaseline
impl Unpin for HashBaseline
impl UnsafeUnpin for HashBaseline
impl UnwindSafe for HashBaseline
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