pub struct RecoverableChatSnapshot {
pub read_view: SessionReadView,
pub cursor: SessionCursor,
}Expand description
One authoritative materialization paired with the cursor at which it was captured.
Fields§
§read_view: SessionReadView§cursor: SessionCursorImplementations§
Source§impl RecoverableChatSnapshot
impl RecoverableChatSnapshot
pub fn capture(observable: &ObservableSession) -> Self
Trait Implementations§
Source§impl Clone for RecoverableChatSnapshot
impl Clone for RecoverableChatSnapshot
Source§fn clone(&self) -> RecoverableChatSnapshot
fn clone(&self) -> RecoverableChatSnapshot
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 moreAuto Trait Implementations§
impl Freeze for RecoverableChatSnapshot
impl RefUnwindSafe for RecoverableChatSnapshot
impl Send for RecoverableChatSnapshot
impl Sync for RecoverableChatSnapshot
impl Unpin for RecoverableChatSnapshot
impl UnsafeUnpin for RecoverableChatSnapshot
impl UnwindSafe for RecoverableChatSnapshot
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