Struct SessionResumptionUpdatePayload
pub struct SessionResumptionUpdatePayload {
pub new_handle: Option<String>,
pub resumable: Option<bool>,
pub last_consumed_client_message_index: Option<String>,
}Expand description
Payload for session resumption update.
Fields§
§new_handle: Option<String>New opaque handle for session resumption.
resumable: Option<bool>Whether the session is currently resumable.
last_consumed_client_message_index: Option<String>Index of the last client message consumed by the server.
Trait Implementations§
§impl Clone for SessionResumptionUpdatePayload
impl Clone for SessionResumptionUpdatePayload
§fn clone(&self) -> SessionResumptionUpdatePayload
fn clone(&self) -> SessionResumptionUpdatePayload
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 more§impl Debug for SessionResumptionUpdatePayload
impl Debug for SessionResumptionUpdatePayload
§impl<'de> Deserialize<'de> for SessionResumptionUpdatePayload
impl<'de> Deserialize<'de> for SessionResumptionUpdatePayload
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SessionResumptionUpdatePayload, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SessionResumptionUpdatePayload, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SessionResumptionUpdatePayload
impl RefUnwindSafe for SessionResumptionUpdatePayload
impl Send for SessionResumptionUpdatePayload
impl Sync for SessionResumptionUpdatePayload
impl Unpin for SessionResumptionUpdatePayload
impl UnwindSafe for SessionResumptionUpdatePayload
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