pub struct IndexBuild {
pub indexer_id: String,
pub indexer_version: String,
pub repo_root: String,
pub content_hash: String,
pub slice_hashes: BTreeMap<String, String>,
}Expand description
Deterministic build metadata embedded in index.json.
Fields§
§indexer_id: String§indexer_version: String§repo_root: String§content_hash: StringSHA-256 over the normalized, path-sorted manifest + spec + extra inputs.
slice_hashes: BTreeMap<String, String>Per-slice content hashes (spec 012): one entry per [index.slices]
key, same normalization as content_hash. Absent when no slices are
configured; loaders tolerate absence (additive MINOR).
Trait Implementations§
Source§impl Clone for IndexBuild
impl Clone for IndexBuild
Source§fn clone(&self) -> IndexBuild
fn clone(&self) -> IndexBuild
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 IndexBuild
impl Debug for IndexBuild
Source§impl<'de> Deserialize<'de> for IndexBuild
impl<'de> Deserialize<'de> for IndexBuild
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 IndexBuild
Source§impl PartialEq for IndexBuild
impl PartialEq for IndexBuild
Source§fn eq(&self, other: &IndexBuild) -> bool
fn eq(&self, other: &IndexBuild) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IndexBuild
impl Serialize for IndexBuild
impl StructuralPartialEq for IndexBuild
Auto Trait Implementations§
impl Freeze for IndexBuild
impl RefUnwindSafe for IndexBuild
impl Send for IndexBuild
impl Sync for IndexBuild
impl Unpin for IndexBuild
impl UnsafeUnpin for IndexBuild
impl UnwindSafe for IndexBuild
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.