pub struct UnitRuntime {
pub state_change_timestamp: Option<Timestamp>,
pub active_enter_timestamp: Option<Timestamp>,
pub inactive_exit_timestamp: Option<Timestamp>,
pub active_exit_timestamp: Option<Timestamp>,
pub cgroup: Option<CGroupRuntime>,
pub service: Option<ServiceRuntime>,
pub timer: Option<TimerRuntime>,
}Expand description
Runtime state of a unit.
Fields§
§state_change_timestamp: Option<Timestamp>§active_enter_timestamp: Option<Timestamp>§inactive_exit_timestamp: Option<Timestamp>§active_exit_timestamp: Option<Timestamp>Emitted once the unit has actually left the active state; absent (not zero) before that.
cgroup: Option<CGroupRuntime>§service: Option<ServiceRuntime>§timer: Option<TimerRuntime>Trait Implementations§
Source§impl Clone for UnitRuntime
impl Clone for UnitRuntime
Source§fn clone(&self) -> UnitRuntime
fn clone(&self) -> UnitRuntime
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 UnitRuntime
impl Debug for UnitRuntime
Source§impl<'de> Deserialize<'de> for UnitRuntime
impl<'de> Deserialize<'de> for UnitRuntime
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 UnitRuntime
impl RefUnwindSafe for UnitRuntime
impl Send for UnitRuntime
impl Sync for UnitRuntime
impl Unpin for UnitRuntime
impl UnsafeUnpin for UnitRuntime
impl UnwindSafe for UnitRuntime
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