pub struct DerivationOutput {
pub path: String,
pub hash_algo: String,
pub hash: String,
}Expand description
A derivation output descriptor.
Fields§
§path: StringStore path for this output (empty for floating content-addressed outputs).
hash_algo: StringHash algorithm (e.g. "sha256"), empty for input-addressed outputs.
hash: StringExpected hash value, empty for input-addressed outputs.
Trait Implementations§
Source§impl Clone for DerivationOutput
impl Clone for DerivationOutput
Source§fn clone(&self) -> DerivationOutput
fn clone(&self) -> DerivationOutput
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 DerivationOutput
impl Debug for DerivationOutput
Source§impl Default for DerivationOutput
impl Default for DerivationOutput
Source§fn default() -> DerivationOutput
fn default() -> DerivationOutput
Returns the “default value” for a type. Read more
impl Eq for DerivationOutput
Source§impl PartialEq for DerivationOutput
impl PartialEq for DerivationOutput
Source§fn eq(&self, other: &DerivationOutput) -> bool
fn eq(&self, other: &DerivationOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DerivationOutput
Auto Trait Implementations§
impl Freeze for DerivationOutput
impl RefUnwindSafe for DerivationOutput
impl Send for DerivationOutput
impl Sync for DerivationOutput
impl Unpin for DerivationOutput
impl UnsafeUnpin for DerivationOutput
impl UnwindSafe for DerivationOutput
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