pub struct GetOutput {
pub active_state: ActiveState,
pub desc: String,
pub name: String,
pub service: String,
pub state: State,
pub unit_state: UnitState,
pub additional_properties: HashMap<String, Value>,
}Fields§
§active_state: ActiveStateCurrent state of the service process (systemd ActiveState).
desc: StringDescription of the service.
name: StringShort identifier for the service (e.g., “pveproxy”).
service: StringSystemd unit name (e.g., pveproxy).
state: StateExecution status of the service (systemd SubState).
unit_state: UnitStateWhether the service is enabled (systemd UnitFileState).
additional_properties: HashMap<String, Value>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GetOutput
impl<'de> Deserialize<'de> for GetOutput
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 GetOutput
impl RefUnwindSafe for GetOutput
impl Send for GetOutput
impl Sync for GetOutput
impl Unpin for GetOutput
impl UnsafeUnpin for GetOutput
impl UnwindSafe for GetOutput
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