Struct bootspec::SpecialisationName
source · pub struct SpecialisationName(pub String);Expand description
A wrapper type describing the name of a NixOS specialisation.
Tuple Fields§
§0: StringTrait Implementations§
source§impl Clone for SpecialisationName
impl Clone for SpecialisationName
source§fn clone(&self) -> SpecialisationName
fn clone(&self) -> SpecialisationName
Returns a copy 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 SpecialisationName
impl Debug for SpecialisationName
source§impl Default for SpecialisationName
impl Default for SpecialisationName
source§fn default() -> SpecialisationName
fn default() -> SpecialisationName
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SpecialisationName
impl<'de> Deserialize<'de> for SpecialisationName
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 Display for SpecialisationName
impl Display for SpecialisationName
source§impl Hash for SpecialisationName
impl Hash for SpecialisationName
source§impl PartialEq<SpecialisationName> for SpecialisationName
impl PartialEq<SpecialisationName> for SpecialisationName
source§fn eq(&self, other: &SpecialisationName) -> bool
fn eq(&self, other: &SpecialisationName) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SpecialisationName
impl Serialize for SpecialisationName
impl Eq for SpecialisationName
impl StructuralEq for SpecialisationName
impl StructuralPartialEq for SpecialisationName
Auto Trait Implementations§
impl RefUnwindSafe for SpecialisationName
impl Send for SpecialisationName
impl Sync for SpecialisationName
impl Unpin for SpecialisationName
impl UnwindSafe for SpecialisationName
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