Struct smf::SvcStatus [−][src]
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>, }
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.