pub(crate) struct DigestPin {
pub path: RepositoryPath,
pub key: ManagedPath,
pub algorithm: DigestAlgorithm,
pub package: String,
pub output: String,
}Expand description
A file of a unit that holds the digest of an asset of a dependency.
Fields§
§path: RepositoryPathThe document, relative to the repository root.
key: ManagedPathThe key path of the digest string.
algorithm: DigestAlgorithmThe hash algorithm of the digest.
package: StringThe per-system package that holds the asset.
output: StringThe asset path relative to the package output.
Implementations§
Trait Implementations§
impl Eq for DigestPin
impl StructuralPartialEq for DigestPin
Auto Trait Implementations§
impl Freeze for DigestPin
impl RefUnwindSafe for DigestPin
impl Send for DigestPin
impl Sync for DigestPin
impl Unpin for DigestPin
impl UnsafeUnpin for DigestPin
impl UnwindSafe for DigestPin
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.