pub struct SwitchControllerReq {
pub activate_controllers: Vec<String>,
pub deactivate_controllers: Vec<String>,
pub strictness: i32,
pub activate_asap: bool,
pub timeout: Duration,
}Fields§
§activate_controllers: Vec<String>§deactivate_controllers: Vec<String>§strictness: i32§activate_asap: bool§timeout: DurationImplementations§
Trait Implementations§
Source§impl Clone for SwitchControllerReq
impl Clone for SwitchControllerReq
Source§fn clone(&self) -> SwitchControllerReq
fn clone(&self) -> SwitchControllerReq
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 SwitchControllerReq
impl Debug for SwitchControllerReq
Source§impl Default for SwitchControllerReq
impl Default for SwitchControllerReq
Source§impl<'de> Deserialize<'de> for SwitchControllerReq
impl<'de> Deserialize<'de> for SwitchControllerReq
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 for SwitchControllerReq
impl PartialEq for SwitchControllerReq
Source§impl Serialize for SwitchControllerReq
impl Serialize for SwitchControllerReq
impl Message for SwitchControllerReq
impl StructuralPartialEq for SwitchControllerReq
Auto Trait Implementations§
impl Freeze for SwitchControllerReq
impl RefUnwindSafe for SwitchControllerReq
impl Send for SwitchControllerReq
impl Sync for SwitchControllerReq
impl Unpin for SwitchControllerReq
impl UnwindSafe for SwitchControllerReq
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