pub struct SystemConfigurationRoot(pub PathBuf);
Expand description
A wrapper type describing the root directory of a NixOS system configuration.
Tuple Fields§
§0: PathBuf
Trait Implementations§
Source§impl Clone for SystemConfigurationRoot
impl Clone for SystemConfigurationRoot
Source§fn clone(&self) -> SystemConfigurationRoot
fn clone(&self) -> SystemConfigurationRoot
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 SystemConfigurationRoot
impl Debug for SystemConfigurationRoot
Source§impl Default for SystemConfigurationRoot
impl Default for SystemConfigurationRoot
Source§fn default() -> SystemConfigurationRoot
fn default() -> SystemConfigurationRoot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SystemConfigurationRoot
impl<'de> Deserialize<'de> for SystemConfigurationRoot
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 SystemConfigurationRoot
impl PartialEq for SystemConfigurationRoot
Source§impl Serialize for SystemConfigurationRoot
impl Serialize for SystemConfigurationRoot
impl Eq for SystemConfigurationRoot
impl StructuralPartialEq for SystemConfigurationRoot
Auto Trait Implementations§
impl Freeze for SystemConfigurationRoot
impl RefUnwindSafe for SystemConfigurationRoot
impl Send for SystemConfigurationRoot
impl Sync for SystemConfigurationRoot
impl Unpin for SystemConfigurationRoot
impl UnwindSafe for SystemConfigurationRoot
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