pub struct Resume {
pub token: CompactString,
pub session_id: CompactString,
pub seq: u64,
}Expand description
Fields§
§token: CompactStringThe bot token, without the Bot prefix.
session_id: CompactStringThe session ID from Ready.
seq: u64The last sequence number received.
Trait Implementations§
impl Eq for Resume
Source§impl GatewayCommand for Resume
impl GatewayCommand for Resume
impl StructuralPartialEq for Resume
Auto Trait Implementations§
impl Freeze for Resume
impl RefUnwindSafe for Resume
impl Send for Resume
impl Sync for Resume
impl Unpin for Resume
impl UnsafeUnpin for Resume
impl UnwindSafe for Resume
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