pub struct GetOutput {
pub comment: Option<String>,
pub digest: String,
pub group: Option<String>,
pub max_relocate: Option<u64>,
pub max_restart: Option<u64>,
pub sid: String,
pub state: Option<State>,
pub ty: String,
pub additional_properties: HashMap<String, Value>,
}
Fields§
§comment: Option<String>
Description.
digest: String
Can be used to prevent concurrent modifications.
group: Option<String>
The HA group identifier.
max_relocate: Option<u64>
Maximal number of service relocate tries when a service failes to start.
max_restart: Option<u64>
Maximal number of tries to restart the service on a node after its start failed.
sid: String
HA resource ID. This consists of a resource type followed by a resource specific name, separated with colon (example: vm:100 / ct:100). For virtual machines and containers, you can simply use the VM or CT id as a shortcut (example: 100).
state: Option<State>
Requested resource state.
ty: String
The type of the resources.
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 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