pub struct SessionUpdatedEvent {
pub event_id: String,
pub session: Session,
pub type_: String,
}Expand description
Returned when a session is updated with a session.update event, unless
Fields§
§event_id: StringThe unique ID of the server event.
session: SessionThe session configuration.
type_: StringThe event type, must be session.updated.
Trait Implementations§
Source§impl Clone for SessionUpdatedEvent
impl Clone for SessionUpdatedEvent
Source§fn clone(&self) -> SessionUpdatedEvent
fn clone(&self) -> SessionUpdatedEvent
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 SessionUpdatedEvent
impl Debug for SessionUpdatedEvent
Source§impl<'de> Deserialize<'de> for SessionUpdatedEvent
impl<'de> Deserialize<'de> for SessionUpdatedEvent
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
Auto Trait Implementations§
impl Freeze for SessionUpdatedEvent
impl RefUnwindSafe for SessionUpdatedEvent
impl Send for SessionUpdatedEvent
impl Sync for SessionUpdatedEvent
impl Unpin for SessionUpdatedEvent
impl UnsafeUnpin for SessionUpdatedEvent
impl UnwindSafe for SessionUpdatedEvent
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