pub struct ExactCacheDigests {
pub identity_sha256: String,
pub distribution_source: String,
pub product_sha256: String,
pub product_byte_length: u64,
pub archive_sha256: String,
pub archive_byte_length: u64,
pub provenance_sha256: String,
pub provenance_byte_length: u64,
}Expand description
Digests and lengths bound by one exact-cache commit.
Fields§
§identity_sha256: StringSHA-256 of canonical full ProductIdentity bytes.
distribution_source: StringExplicit distribution source.
product_sha256: StringSHA-256 of decompressed, validated product bytes.
product_byte_length: u64Product byte length.
archive_sha256: StringSHA-256 of distributor archive bytes.
archive_byte_length: u64Archive byte length.
provenance_sha256: StringSHA-256 of the exact provenance bytes.
provenance_byte_length: u64Provenance byte length.
Trait Implementations§
Source§impl Clone for ExactCacheDigests
impl Clone for ExactCacheDigests
Source§fn clone(&self) -> ExactCacheDigests
fn clone(&self) -> ExactCacheDigests
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 ExactCacheDigests
impl Debug for ExactCacheDigests
impl Eq for ExactCacheDigests
Source§impl PartialEq for ExactCacheDigests
impl PartialEq for ExactCacheDigests
impl StructuralPartialEq for ExactCacheDigests
Auto Trait Implementations§
impl Freeze for ExactCacheDigests
impl RefUnwindSafe for ExactCacheDigests
impl Send for ExactCacheDigests
impl Sync for ExactCacheDigests
impl Unpin for ExactCacheDigests
impl UnsafeUnpin for ExactCacheDigests
impl UnwindSafe for ExactCacheDigests
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.