pub struct DrvOutput {
pub drv_hash: NixHash,
pub output_name: OutputName,
}Fields§
§drv_hash: NixHash§output_name: OutputNameTrait Implementations§
Source§impl<'de> Deserialize<'de> for DrvOutput
impl<'de> Deserialize<'de> for DrvOutput
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
Source§impl NixDeserialize for DrvOutput
Available on crate features wire and nix-compat-derive only.
impl NixDeserialize for DrvOutput
Available on crate features
wire and nix-compat-derive only.Source§fn try_deserialize<R>(
reader: &mut R,
) -> impl Future<Output = Result<Option<Self>, R::Error>> + Send + '_
fn try_deserialize<R>( reader: &mut R, ) -> impl Future<Output = Result<Option<Self>, R::Error>> + Send + '_
Read a value from the reader.
This returns an Option to support gracefull shutdown.
fn deserialize<R>( reader: &mut R, ) -> impl Future<Output = Result<Self, R::Error>> + Send + '_
Source§impl NixSerialize for DrvOutput
Available on crate features wire and nix-compat-derive only.
impl NixSerialize for DrvOutput
Available on crate features
wire and nix-compat-derive only.Source§impl Ord for DrvOutput
impl Ord for DrvOutput
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for DrvOutput
impl PartialOrd for DrvOutput
impl Eq for DrvOutput
impl StructuralPartialEq for DrvOutput
Auto Trait Implementations§
impl Freeze for DrvOutput
impl RefUnwindSafe for DrvOutput
impl Send for DrvOutput
impl Sync for DrvOutput
impl Unpin for DrvOutput
impl UnsafeUnpin for DrvOutput
impl UnwindSafe for DrvOutput
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<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.