pub struct UpdatesStateSnap {
pub pts: i32,
pub qts: i32,
pub date: i32,
pub seq: i32,
pub channels: Vec<ChannelState>,
}Expand description
Full snapshot of the update state for session persistence.
Fields§
§pts: i32§qts: i32§date: i32§seq: i32§channels: Vec<ChannelState>Trait Implementations§
Source§impl Clone for UpdatesStateSnap
impl Clone for UpdatesStateSnap
Source§fn clone(&self) -> UpdatesStateSnap
fn clone(&self) -> UpdatesStateSnap
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 UpdatesStateSnap
impl Debug for UpdatesStateSnap
Source§impl Default for UpdatesStateSnap
impl Default for UpdatesStateSnap
Source§fn default() -> UpdatesStateSnap
fn default() -> UpdatesStateSnap
Returns the “default value” for a type. Read more
impl Eq for UpdatesStateSnap
Source§impl PartialEq for UpdatesStateSnap
impl PartialEq for UpdatesStateSnap
impl StructuralPartialEq for UpdatesStateSnap
Auto Trait Implementations§
impl Freeze for UpdatesStateSnap
impl RefUnwindSafe for UpdatesStateSnap
impl Send for UpdatesStateSnap
impl Sync for UpdatesStateSnap
impl Unpin for UpdatesStateSnap
impl UnsafeUnpin for UpdatesStateSnap
impl UnwindSafe for UpdatesStateSnap
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