pub struct RecoverableChatEventId {
pub session_id: String,
pub cursor: String,
}Expand description
Subscription-scoped at-least-once delivery identity for one Lash observation event.
Hosts retain this identity only while the current live-replay incarnation is
known to be continuous. Re-delivery of the same identity must not create
another row. A RecoverableChatUpdate::ReplayGap ends that continuity:
the replacement snapshot is authoritative and cursor identities retained
from before the gap must be discarded because an in-memory replay store can
reuse them after restart.
Fields§
§session_id: String§cursor: StringTrait Implementations§
Source§impl Clone for RecoverableChatEventId
impl Clone for RecoverableChatEventId
Source§fn clone(&self) -> RecoverableChatEventId
fn clone(&self) -> RecoverableChatEventId
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 RecoverableChatEventId
impl Debug for RecoverableChatEventId
impl Eq for RecoverableChatEventId
Source§impl Hash for RecoverableChatEventId
impl Hash for RecoverableChatEventId
Source§impl Ord for RecoverableChatEventId
impl Ord for RecoverableChatEventId
Source§fn cmp(&self, other: &RecoverableChatEventId) -> Ordering
fn cmp(&self, other: &RecoverableChatEventId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RecoverableChatEventId
impl PartialEq for RecoverableChatEventId
Source§impl PartialOrd for RecoverableChatEventId
impl PartialOrd for RecoverableChatEventId
impl StructuralPartialEq for RecoverableChatEventId
Auto Trait Implementations§
impl Freeze for RecoverableChatEventId
impl RefUnwindSafe for RecoverableChatEventId
impl Send for RecoverableChatEventId
impl Sync for RecoverableChatEventId
impl Unpin for RecoverableChatEventId
impl UnsafeUnpin for RecoverableChatEventId
impl UnwindSafe for RecoverableChatEventId
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.