pub struct RecordedBlock {
pub path: TargetPath,
pub recorded: Sha256,
pub held: Option<Sha256>,
}Expand description
One marked region a file the project owns carries.
Fields§
§path: TargetPathThe host file, relative to the target.
recorded: Sha256The region’s digest as the record has it.
held: Option<Sha256>The region’s digest now, or nothing where the host or the markers are gone.
Trait Implementations§
Source§impl Clone for RecordedBlock
impl Clone for RecordedBlock
Source§fn clone(&self) -> RecordedBlock
fn clone(&self) -> RecordedBlock
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 RecordedBlock
impl Debug for RecordedBlock
Source§impl<'de> Deserialize<'de> for RecordedBlock
impl<'de> Deserialize<'de> for RecordedBlock
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 RecordedBlock
Source§impl PartialEq for RecordedBlock
impl PartialEq for RecordedBlock
Source§impl Serialize for RecordedBlock
impl Serialize for RecordedBlock
impl StructuralPartialEq for RecordedBlock
Auto Trait Implementations§
impl Freeze for RecordedBlock
impl RefUnwindSafe for RecordedBlock
impl Send for RecordedBlock
impl Sync for RecordedBlock
impl Unpin for RecordedBlock
impl UnsafeUnpin for RecordedBlock
impl UnwindSafe for RecordedBlock
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.