pub struct WsQueryParams {
pub session_id: Option<String>,
}Expand description
Query parameters for the WebSocket upgrade endpoint.
Fields§
§session_id: Option<String>Optional session ID for session resumption.
Trait Implementations§
Source§impl Debug for WsQueryParams
impl Debug for WsQueryParams
Source§impl Default for WsQueryParams
impl Default for WsQueryParams
Source§fn default() -> WsQueryParams
fn default() -> WsQueryParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WsQueryParams
impl<'de> Deserialize<'de> for WsQueryParams
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 WsQueryParams
impl RefUnwindSafe for WsQueryParams
impl Send for WsQueryParams
impl Sync for WsQueryParams
impl Unpin for WsQueryParams
impl UnsafeUnpin for WsQueryParams
impl UnwindSafe for WsQueryParams
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