pub struct SnapshotFrame {
pub mode: Mode,
pub export: String,
pub op: &'static str,
pub data: Vec<SnapshotEntity>,
pub complete: bool,
}Expand description
Batch snapshot frame for initial data load
Fields§
§mode: Mode§export: String§op: &'static str§data: Vec<SnapshotEntity>§complete: boolIndicates whether this is the final snapshot batch.
When false, more snapshot batches will follow.
When true, the snapshot is complete and live streaming begins.
Trait Implementations§
Source§impl Clone for SnapshotFrame
impl Clone for SnapshotFrame
Source§fn clone(&self) -> SnapshotFrame
fn clone(&self) -> SnapshotFrame
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 SnapshotFrame
impl Debug for SnapshotFrame
Source§impl Deserialize<'static> for SnapshotFrame
impl Deserialize<'static> for SnapshotFrame
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SnapshotFrame
impl RefUnwindSafe for SnapshotFrame
impl Send for SnapshotFrame
impl Sync for SnapshotFrame
impl Unpin for SnapshotFrame
impl UnwindSafe for SnapshotFrame
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