pub struct RecordedFile {
pub path: TargetPath,
pub recorded: Sha256,
pub baseline: Option<Sha256>,
pub held: Option<Sha256>,
}Expand description
One file the instance records.
Fields§
§path: TargetPathWhere, relative to the target.
recorded: Sha256What the record says the tool wrote there.
baseline: Option<Sha256>What the baseline was, for an adopted file.
held: Option<Sha256>What the target holds now, or nothing where the file is gone.
Trait Implementations§
Source§impl Clone for RecordedFile
impl Clone for RecordedFile
Source§fn clone(&self) -> RecordedFile
fn clone(&self) -> RecordedFile
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 RecordedFile
impl Debug for RecordedFile
Source§impl<'de> Deserialize<'de> for RecordedFile
impl<'de> Deserialize<'de> for RecordedFile
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 RecordedFile
Source§impl PartialEq for RecordedFile
impl PartialEq for RecordedFile
Source§impl Serialize for RecordedFile
impl Serialize for RecordedFile
impl StructuralPartialEq for RecordedFile
Auto Trait Implementations§
impl Freeze for RecordedFile
impl RefUnwindSafe for RecordedFile
impl Send for RecordedFile
impl Sync for RecordedFile
impl Unpin for RecordedFile
impl UnsafeUnpin for RecordedFile
impl UnwindSafe for RecordedFile
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.