pub struct ManagerRuntime {
pub version: Option<String>,
pub system_state: Option<String>,
}Expand description
Runtime state of the systemd manager.
Fields§
§version: Option<String>systemd version string, e.g. “262~rc3-1.fc46”.
system_state: Option<String>Overall system state, e.g. “running” or “degraded”.
Trait Implementations§
Source§impl Clone for ManagerRuntime
impl Clone for ManagerRuntime
Source§fn clone(&self) -> ManagerRuntime
fn clone(&self) -> ManagerRuntime
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ManagerRuntime
impl Debug for ManagerRuntime
Source§impl<'de> Deserialize<'de> for ManagerRuntime
impl<'de> Deserialize<'de> for ManagerRuntime
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
Auto Trait Implementations§
impl Freeze for ManagerRuntime
impl RefUnwindSafe for ManagerRuntime
impl Send for ManagerRuntime
impl Sync for ManagerRuntime
impl Unpin for ManagerRuntime
impl UnsafeUnpin for ManagerRuntime
impl UnwindSafe for ManagerRuntime
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