pub struct RepoSnapshot {
pub merkle_root: String,
pub file_hashes: BTreeMap<String, String>,
}Expand description
Repository snapshot for cache invalidation.
Fields§
§merkle_root: StringBLAKE3 Merkle root of all file hashes.
file_hashes: BTreeMap<String, String>Per-file content hashes.
Trait Implementations§
Source§impl Clone for RepoSnapshot
impl Clone for RepoSnapshot
Source§fn clone(&self) -> RepoSnapshot
fn clone(&self) -> RepoSnapshot
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 RepoSnapshot
impl Debug for RepoSnapshot
Source§impl<'de> Deserialize<'de> for RepoSnapshot
impl<'de> Deserialize<'de> for RepoSnapshot
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 RepoSnapshot
impl RefUnwindSafe for RepoSnapshot
impl Send for RepoSnapshot
impl Sync for RepoSnapshot
impl Unpin for RepoSnapshot
impl UnsafeUnpin for RepoSnapshot
impl UnwindSafe for RepoSnapshot
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