pub struct WsSession {
pub session_id: String,
pub deadline: SystemTime,
}Expand description
The session for the Websocket connection
Fields§
§session_id: StringSession id
deadline: SystemTimeThe expiration time of the session id.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WsSession
impl RefUnwindSafe for WsSession
impl Send for WsSession
impl Sync for WsSession
impl Unpin for WsSession
impl UnwindSafe for WsSession
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