pub struct CommandControl {
pub enable: bool,
pub max_servers: u8,
pub max_failures: u8,
pub pulse_check: bool,
pub pulse_check_cron: String,
pub monitor: bool,
pub monitor_cron: String,
}
Fields§
§enable: bool
§max_servers: u8
§max_failures: u8
§pulse_check: bool
§pulse_check_cron: String
§monitor: bool
§monitor_cron: String
Trait Implementations§
Source§impl Clone for CommandControl
impl Clone for CommandControl
Source§fn clone(&self) -> CommandControl
fn clone(&self) -> CommandControl
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 CommandControl
impl Debug for CommandControl
Source§impl Default for CommandControl
impl Default for CommandControl
Source§fn default() -> CommandControl
fn default() -> CommandControl
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommandControl
impl<'de> Deserialize<'de> for CommandControl
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 CommandControl
impl RefUnwindSafe for CommandControl
impl Send for CommandControl
impl Sync for CommandControl
impl Unpin for CommandControl
impl UnwindSafe for CommandControl
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