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 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 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 for SpecialisationName
impl PartialEq for SpecialisationName
Source§impl Serialize for SpecialisationName
impl Serialize for SpecialisationName
impl Eq for SpecialisationName
impl StructuralPartialEq for SpecialisationName
Auto Trait Implementations§
impl Freeze for SpecialisationName
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