pub struct SessionConfigChangedAction {
pub config: JsonObject,
pub replace: Option<bool>,
}Expand description
Client changed a mutable config value mid-session.
Only properties with sessionMutable: true in the config schema may be
changed. The server validates and broadcasts the action; the reducer merges
the new values into state.config.values.
Fields§
§config: JsonObjectUpdated config values
replace: Option<bool>When true, replaces all config values instead of merging
Trait Implementations§
Source§impl Clone for SessionConfigChangedAction
impl Clone for SessionConfigChangedAction
Source§fn clone(&self) -> SessionConfigChangedAction
fn clone(&self) -> SessionConfigChangedAction
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 Debug for SessionConfigChangedAction
impl Debug for SessionConfigChangedAction
Source§impl<'de> Deserialize<'de> for SessionConfigChangedAction
impl<'de> Deserialize<'de> for SessionConfigChangedAction
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 SessionConfigChangedAction
impl PartialEq for SessionConfigChangedAction
Source§fn eq(&self, other: &SessionConfigChangedAction) -> bool
fn eq(&self, other: &SessionConfigChangedAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SessionConfigChangedAction
Auto Trait Implementations§
impl Freeze for SessionConfigChangedAction
impl RefUnwindSafe for SessionConfigChangedAction
impl Send for SessionConfigChangedAction
impl Sync for SessionConfigChangedAction
impl Unpin for SessionConfigChangedAction
impl UnsafeUnpin for SessionConfigChangedAction
impl UnwindSafe for SessionConfigChangedAction
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