pub struct AccountStateSnapshot {
pub deleted_chat_ids: Vec<InlineId>,
}Expand description
Durable account-level state needed to reconcile a consumer after an event stream retention gap.
Fields§
§deleted_chat_ids: Vec<InlineId>Chats that were removed after being observed by this account store.
Trait Implementations§
Source§impl Clone for AccountStateSnapshot
impl Clone for AccountStateSnapshot
Source§fn clone(&self) -> AccountStateSnapshot
fn clone(&self) -> AccountStateSnapshot
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 AccountStateSnapshot
impl Debug for AccountStateSnapshot
Source§impl Default for AccountStateSnapshot
impl Default for AccountStateSnapshot
Source§fn default() -> AccountStateSnapshot
fn default() -> AccountStateSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccountStateSnapshot
impl<'de> Deserialize<'de> for AccountStateSnapshot
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
impl Eq for AccountStateSnapshot
Source§impl PartialEq for AccountStateSnapshot
impl PartialEq for AccountStateSnapshot
Source§impl Serialize for AccountStateSnapshot
impl Serialize for AccountStateSnapshot
impl StructuralPartialEq for AccountStateSnapshot
Auto Trait Implementations§
impl Freeze for AccountStateSnapshot
impl RefUnwindSafe for AccountStateSnapshot
impl Send for AccountStateSnapshot
impl Sync for AccountStateSnapshot
impl Unpin for AccountStateSnapshot
impl UnsafeUnpin for AccountStateSnapshot
impl UnwindSafe for AccountStateSnapshot
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