pub struct SetVariableModeAction {
pub type: Type,
pub variable_collection_id: Option<Option<String>>,
pub variable_mode_id: Option<Option<String>>,
}
Expand description
SetVariableModeAction : Sets a variable to a specific mode.
Fields§
§type: Type
§variable_collection_id: Option<Option<String>>
§variable_mode_id: Option<Option<String>>
Implementations§
Source§impl SetVariableModeAction
impl SetVariableModeAction
Sourcepub fn new(type: Type) -> SetVariableModeAction
pub fn new(type: Type) -> SetVariableModeAction
Sets a variable to a specific mode.
Trait Implementations§
Source§impl Clone for SetVariableModeAction
impl Clone for SetVariableModeAction
Source§fn clone(&self) -> SetVariableModeAction
fn clone(&self) -> SetVariableModeAction
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 SetVariableModeAction
impl Debug for SetVariableModeAction
Source§impl Default for SetVariableModeAction
impl Default for SetVariableModeAction
Source§fn default() -> SetVariableModeAction
fn default() -> SetVariableModeAction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetVariableModeAction
impl<'de> Deserialize<'de> for SetVariableModeAction
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 SetVariableModeAction
impl PartialEq for SetVariableModeAction
Source§impl Serialize for SetVariableModeAction
impl Serialize for SetVariableModeAction
impl StructuralPartialEq for SetVariableModeAction
Auto Trait Implementations§
impl Freeze for SetVariableModeAction
impl RefUnwindSafe for SetVariableModeAction
impl Send for SetVariableModeAction
impl Sync for SetVariableModeAction
impl Unpin for SetVariableModeAction
impl UnwindSafe for SetVariableModeAction
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