pub struct PinnedSource {
pub root: String,
pub kind: SourceKind,
}Expand description
The owner’s configuration as Nix will see it.
Fields§
§root: String§kind: SourceKindTrait Implementations§
Source§impl Clone for PinnedSource
impl Clone for PinnedSource
Source§fn clone(&self) -> PinnedSource
fn clone(&self) -> PinnedSource
Returns a duplicate of the value. Read more
1.0.0 · 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 PinnedSource
impl Debug for PinnedSource
Source§impl<'de> Deserialize<'de> for PinnedSource
impl<'de> Deserialize<'de> for PinnedSource
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 PartialEq for PinnedSource
impl PartialEq for PinnedSource
Source§impl Serialize for PinnedSource
impl Serialize for PinnedSource
impl Eq for PinnedSource
impl StructuralPartialEq for PinnedSource
Auto Trait Implementations§
impl Freeze for PinnedSource
impl RefUnwindSafe for PinnedSource
impl Send for PinnedSource
impl Sync for PinnedSource
impl Unpin for PinnedSource
impl UnsafeUnpin for PinnedSource
impl UnwindSafe for PinnedSource
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