pub enum SessionControlEvent {
AgentSwitched {
from: Option<String>,
to: Option<String>,
},
}Variants§
Trait Implementations§
Source§impl Clone for SessionControlEvent
impl Clone for SessionControlEvent
Source§fn clone(&self) -> SessionControlEvent
fn clone(&self) -> SessionControlEvent
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 SessionControlEvent
impl Debug for SessionControlEvent
Source§impl<'de> Deserialize<'de> for SessionControlEvent
impl<'de> Deserialize<'de> for SessionControlEvent
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 SessionControlEvent
impl PartialEq for SessionControlEvent
Source§fn eq(&self, other: &SessionControlEvent) -> bool
fn eq(&self, other: &SessionControlEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SessionControlEvent
impl Serialize for SessionControlEvent
impl StructuralPartialEq for SessionControlEvent
Auto Trait Implementations§
impl Freeze for SessionControlEvent
impl RefUnwindSafe for SessionControlEvent
impl Send for SessionControlEvent
impl Sync for SessionControlEvent
impl Unpin for SessionControlEvent
impl UnsafeUnpin for SessionControlEvent
impl UnwindSafe for SessionControlEvent
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