pub struct SessionCustomizationToggledAction {
pub id: String,
pub enabled: bool,
}Expand description
A client toggled a container customization on or off.
Targets a top-level container (plugin or directory) by id. Only
containers have an enabled flag; children are always active when
their container is enabled. Is a no-op when no matching container is
found.
Fields§
§id: StringThe id of the container to toggle.
enabled: boolWhether to enable or disable the container.
Trait Implementations§
Source§impl Clone for SessionCustomizationToggledAction
impl Clone for SessionCustomizationToggledAction
Source§fn clone(&self) -> SessionCustomizationToggledAction
fn clone(&self) -> SessionCustomizationToggledAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for SessionCustomizationToggledAction
impl<'de> Deserialize<'de> for SessionCustomizationToggledAction
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 SessionCustomizationToggledAction
impl PartialEq for SessionCustomizationToggledAction
Source§fn eq(&self, other: &SessionCustomizationToggledAction) -> bool
fn eq(&self, other: &SessionCustomizationToggledAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SessionCustomizationToggledAction
Auto Trait Implementations§
impl Freeze for SessionCustomizationToggledAction
impl RefUnwindSafe for SessionCustomizationToggledAction
impl Send for SessionCustomizationToggledAction
impl Sync for SessionCustomizationToggledAction
impl Unpin for SessionCustomizationToggledAction
impl UnsafeUnpin for SessionCustomizationToggledAction
impl UnwindSafe for SessionCustomizationToggledAction
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