Struct nomad_client::models::check_restart::CheckRestart
source · pub struct CheckRestart {
pub limit: Option<i32>,
pub grace: Option<i64>,
pub ignore_warnings: Option<bool>,
}
Fields§
§limit: Option<i32>
§grace: Option<i64>
§ignore_warnings: Option<bool>
Implementations§
source§impl CheckRestart
impl CheckRestart
pub fn new() -> CheckRestart
Trait Implementations§
source§impl Clone for CheckRestart
impl Clone for CheckRestart
source§fn clone(&self) -> CheckRestart
fn clone(&self) -> CheckRestart
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 CheckRestart
impl Debug for CheckRestart
source§impl<'de> Deserialize<'de> for CheckRestart
impl<'de> Deserialize<'de> for CheckRestart
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
source§impl PartialEq<CheckRestart> for CheckRestart
impl PartialEq<CheckRestart> for CheckRestart
source§fn eq(&self, other: &CheckRestart) -> bool
fn eq(&self, other: &CheckRestart) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.