pub struct SessionStartContext {
pub session_id: String,
pub resumed: bool,
}Expand description
Context passed to session start hooks.
Fields§
§session_id: StringSession ID.
resumed: boolWhether this is a resumed session.
Trait Implementations§
Source§impl Clone for SessionStartContext
impl Clone for SessionStartContext
Source§fn clone(&self) -> SessionStartContext
fn clone(&self) -> SessionStartContext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SessionStartContext
impl RefUnwindSafe for SessionStartContext
impl Send for SessionStartContext
impl Sync for SessionStartContext
impl Unpin for SessionStartContext
impl UnsafeUnpin for SessionStartContext
impl UnwindSafe for SessionStartContext
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