pub struct UnitFilesScope {
pub generated: HashMap<String, u64>,
pub transient: HashMap<String, u64>,
}Expand description
Unit file counts for a scope (root or user), broken down by unit type.
Fields§
§generated: HashMap<String, u64>Generated unit files by type (e.g. “service” => 2, “mount” => 5)
transient: HashMap<String, u64>Transient unit files by type (e.g. “service” => 10, “scope” => 6)
Trait Implementations§
Source§impl Clone for UnitFilesScope
impl Clone for UnitFilesScope
Source§fn clone(&self) -> UnitFilesScope
fn clone(&self) -> UnitFilesScope
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 UnitFilesScope
impl Debug for UnitFilesScope
Source§impl Default for UnitFilesScope
impl Default for UnitFilesScope
Source§fn default() -> UnitFilesScope
fn default() -> UnitFilesScope
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UnitFilesScope
impl<'de> Deserialize<'de> for UnitFilesScope
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 UnitFilesScope
impl PartialEq for UnitFilesScope
Source§impl Serialize for UnitFilesScope
impl Serialize for UnitFilesScope
impl StructuralPartialEq for UnitFilesScope
Auto Trait Implementations§
impl Freeze for UnitFilesScope
impl RefUnwindSafe for UnitFilesScope
impl Send for UnitFilesScope
impl Sync for UnitFilesScope
impl Unpin for UnitFilesScope
impl UnsafeUnpin for UnitFilesScope
impl UnwindSafe for UnitFilesScope
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.