pub struct CurrentModeUpdate {
pub current_mode_id: SessionModeId,
}Expand description
current_mode_update payload. The current mode
of the session has changed.
Fields§
§current_mode_id: SessionModeIdThe id of the current mode. The id is one
of the modes the agent advertised in the
SessionModeState::available_modes from
session/new or session/load.
Trait Implementations§
Source§impl Clone for CurrentModeUpdate
impl Clone for CurrentModeUpdate
Source§impl Debug for CurrentModeUpdate
impl Debug for CurrentModeUpdate
Source§impl<'de> Deserialize<'de> for CurrentModeUpdate
impl<'de> Deserialize<'de> for CurrentModeUpdate
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
impl Eq for CurrentModeUpdate
Source§impl PartialEq for CurrentModeUpdate
impl PartialEq for CurrentModeUpdate
Source§impl Serialize for CurrentModeUpdate
impl Serialize for CurrentModeUpdate
impl StructuralPartialEq for CurrentModeUpdate
Auto Trait Implementations§
impl Freeze for CurrentModeUpdate
impl RefUnwindSafe for CurrentModeUpdate
impl Send for CurrentModeUpdate
impl Sync for CurrentModeUpdate
impl Unpin for CurrentModeUpdate
impl UnsafeUnpin for CurrentModeUpdate
impl UnwindSafe for CurrentModeUpdate
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