pub struct GetOutputItems {
pub crm_state: Option<String>,
pub id: String,
pub max_relocate: Option<u64>,
pub max_restart: Option<u64>,
pub node: String,
pub quorate: Option<bool>,
pub request_state: Option<String>,
pub sid: Option<String>,
pub state: Option<String>,
pub status: String,
pub timestamp: Option<u64>,
pub additional_properties: HashMap<String, Value>,
}
Fields§
§crm_state: Option<String>
For type ‘service’. Service state as seen by the CRM.
id: String
Status entry ID (quorum, master, lrm:<node>, service:<sid>).
max_relocate: Option<u64>
For type ‘service’.
max_restart: Option<u64>
For type ‘service’.
node: String
Node associated to status entry.
quorate: Option<bool>
For type ‘quorum’. Whether the cluster is quorate or not.
request_state: Option<String>
For type ‘service’. Requested service state.
sid: Option<String>
For type ‘service’. Service ID.
state: Option<String>
For type ‘service’. Verbose service state.
status: String
Status of the entry (value depends on type).
timestamp: Option<u64>
For type ‘lrm’,‘master’. Timestamp of the status information.
additional_properties: HashMap<String, Value>
Implementations§
Trait Implementations§
Source§impl Clone for GetOutputItems
impl Clone for GetOutputItems
Source§fn clone(&self) -> GetOutputItems
fn clone(&self) -> GetOutputItems
Returns a copy of the value. Read more
1.0.0 · 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 GetOutputItems
impl Debug for GetOutputItems
Source§impl<'de> Deserialize<'de> for GetOutputItems
impl<'de> Deserialize<'de> for GetOutputItems
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 GetOutputItems
impl RefUnwindSafe for GetOutputItems
impl Send for GetOutputItems
impl Sync for GetOutputItems
impl Unpin for GetOutputItems
impl UnwindSafe for GetOutputItems
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