pub struct UpdatesState {
pub pts: i32,
pub qts: i32,
pub date: i32,
pub seq: i32,
pub channels: Vec<ChannelState>,
}Expand description
Full update state needed to process updates in order without gaps.
Fields§
§pts: i32Primary persistent timestamp value.
qts: i32Secondary persistent timestamp value.
date: i32Auxiliary date value.
seq: i32Auxiliary sequence value.
channels: Vec<ChannelState>Persistent timestamp of each known channel.
Trait Implementations§
Source§impl Clone for UpdatesState
impl Clone for UpdatesState
Source§fn clone(&self) -> UpdatesState
fn clone(&self) -> UpdatesState
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 moreSource§impl Debug for UpdatesState
impl Debug for UpdatesState
Source§impl Default for UpdatesState
impl Default for UpdatesState
Source§fn default() -> UpdatesState
fn default() -> UpdatesState
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdatesState
impl PartialEq for UpdatesState
impl Eq for UpdatesState
impl StructuralPartialEq for UpdatesState
Auto Trait Implementations§
impl Freeze for UpdatesState
impl RefUnwindSafe for UpdatesState
impl Send for UpdatesState
impl Sync for UpdatesState
impl Unpin for UpdatesState
impl UnwindSafe for UpdatesState
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