Struct ayaka_bindings_types::Switch
source · pub struct Switch {
pub text: String,
pub enabled: bool,
}
Expand description
One switch in the switches of an Action
.
Fields§
§text: String
The switch text.
enabled: bool
Whether the switch is enabled.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Switch
impl<'de> Deserialize<'de> for Switch
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 Switch
impl PartialEq for Switch
impl Eq for Switch
impl StructuralEq for Switch
impl StructuralPartialEq for Switch
Auto Trait Implementations§
impl RefUnwindSafe for Switch
impl Send for Switch
impl Sync for Switch
impl Unpin for Switch
impl UnwindSafe for Switch
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