pub struct SvcStatus {
pub fmri: String,
pub contract_id: Option<usize>,
pub instance_name: String,
pub next_state: Option<SmfState>,
pub scope_name: String,
pub service_name: String,
pub state: SmfState,
pub service_time: String,
pub zone: String,
pub description: Option<String>,
}
Expand description
Describes the status of an SMF service.
Refer to Query for information acquiring these structures.
Fields§
§fmri: String
The FMRI of a service (fault management resource identifier). Functionally acts as a service ID.
contract_id: Option<usize>
The primary contract ID for the service instance.
instance_name: String
The instance name of the service instance.
next_state: Option<SmfState>
The abbreviated name of the next state.
If this field is None
, the service is not changing states.
scope_name: String
The scope name of the service instance.
service_name: String
The service name of the service instance.
state: SmfState
The service instance state.
service_time: String
The time the service transitioned to the current state.
zone: String
The zone in which the service exists.
description: Option<String>
A brief service description.
Trait Implementations§
source§impl PartialEq<SvcStatus> for SvcStatus
impl PartialEq<SvcStatus> for SvcStatus
impl StructuralPartialEq for SvcStatus
Auto Trait Implementations§
impl RefUnwindSafe for SvcStatus
impl Send for SvcStatus
impl Sync for SvcStatus
impl Unpin for SvcStatus
impl UnwindSafe for SvcStatus
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