pub struct FileHash {
pub path: String,
pub blake3_canonicalized: String,
}Expand description
Represents a file hash in the receipt
Fields§
§path: StringPath to the file relative to the spec directory
blake3_canonicalized: StringBLAKE3 hash of the canonicalized content
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FileHash
impl<'de> Deserialize<'de> for FileHash
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 FileHash
impl RefUnwindSafe for FileHash
impl Send for FileHash
impl Sync for FileHash
impl Unpin for FileHash
impl UnsafeUnpin for FileHash
impl UnwindSafe for FileHash
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