pub struct GoGenDelta {
pub schema_version: u32,
pub go_sum_sha256: String,
pub source_hashes: BTreeMap<String, String>,
}Expand description
Go.gen.lock. Keyed maps are BTreeMap ⇒ canonical (sorted) key
order by construction, so the file is byte-identical across build
hosts.
Fields§
§schema_version: u32§go_sum_sha256: StringD2 freshness tie — lowercase hex SHA-256 of go.sum.
source_hashes: BTreeMap<String, String>Per-node incremental cache keys: node key → BLAKE3 source_hash.
Std nodes (content-addressed by the std-tree, no per-file hash)
are omitted.
Implementations§
Source§impl GoGenDelta
impl GoGenDelta
Trait Implementations§
Source§impl Clone for GoGenDelta
impl Clone for GoGenDelta
Source§fn clone(&self) -> GoGenDelta
fn clone(&self) -> GoGenDelta
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 GoGenDelta
impl Debug for GoGenDelta
Source§impl<'de> Deserialize<'de> for GoGenDelta
impl<'de> Deserialize<'de> for GoGenDelta
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 GoGenDelta
Source§impl PartialEq for GoGenDelta
impl PartialEq for GoGenDelta
Source§impl Serialize for GoGenDelta
impl Serialize for GoGenDelta
impl StructuralPartialEq for GoGenDelta
Auto Trait Implementations§
impl Freeze for GoGenDelta
impl RefUnwindSafe for GoGenDelta
impl Send for GoGenDelta
impl Sync for GoGenDelta
impl Unpin for GoGenDelta
impl UnsafeUnpin for GoGenDelta
impl UnwindSafe for GoGenDelta
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.