pub struct ResumptionState {
pub session_id: String,
pub last_event_id: String,
pub pending_requests: Vec<RequestId>,
pub next_sequence: u64,
}Expand description
State for resuming a connection.
Fields§
§session_id: StringSession ID to resume
last_event_id: StringLast event ID that was acknowledged
pending_requests: Vec<RequestId>Pending requests that weren’t completed
next_sequence: u64Sequence number to continue from
Trait Implementations§
Source§impl Clone for ResumptionState
impl Clone for ResumptionState
Source§fn clone(&self) -> ResumptionState
fn clone(&self) -> ResumptionState
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 ResumptionState
impl Debug for ResumptionState
Source§impl<'de> Deserialize<'de> for ResumptionState
impl<'de> Deserialize<'de> for ResumptionState
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 ResumptionState
impl RefUnwindSafe for ResumptionState
impl Send for ResumptionState
impl Sync for ResumptionState
impl Unpin for ResumptionState
impl UnsafeUnpin for ResumptionState
impl UnwindSafe for ResumptionState
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