pub struct SwitchControllerRequest {
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: Duration
Implementations§
Trait Implementations§
Source§impl Clone for SwitchControllerRequest
impl Clone for SwitchControllerRequest
Source§fn clone(&self) -> SwitchControllerRequest
fn clone(&self) -> SwitchControllerRequest
Returns a duplicate 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 SwitchControllerRequest
impl Debug for SwitchControllerRequest
Source§impl Default for SwitchControllerRequest
impl Default for SwitchControllerRequest
Source§impl<'de> Deserialize<'de> for SwitchControllerRequest
impl<'de> Deserialize<'de> for SwitchControllerRequest
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 SwitchControllerRequest
impl PartialEq for SwitchControllerRequest
Source§impl Serialize for SwitchControllerRequest
impl Serialize for SwitchControllerRequest
impl Message for SwitchControllerRequest
impl StructuralPartialEq for SwitchControllerRequest
Auto Trait Implementations§
impl Freeze for SwitchControllerRequest
impl RefUnwindSafe for SwitchControllerRequest
impl Send for SwitchControllerRequest
impl Sync for SwitchControllerRequest
impl Unpin for SwitchControllerRequest
impl UnwindSafe for SwitchControllerRequest
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