pub struct Pin {
pub dep: DepRef,
pub expected: ContentHash,
}Expand description
A DepRef bound to the exact content hash we expect to download — the pin that makes
acquisition tamper-evident (docs/PIPELINE.md §2).
Fields§
§dep: DepRef§expected: ContentHashTrait Implementations§
impl Eq for Pin
impl StructuralPartialEq for Pin
Auto Trait Implementations§
impl Freeze for Pin
impl RefUnwindSafe for Pin
impl Send for Pin
impl Sync for Pin
impl Unpin for Pin
impl UnsafeUnpin for Pin
impl UnwindSafe for Pin
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