pub struct SnapshotFrame {
pub protocol_version: u8,
pub subscription_id: String,
pub snapshot_id: String,
pub authoritative: bool,
pub mode: Mode,
pub export: String,
pub op: &'static str,
pub key: Option<String>,
pub data: Vec<SnapshotEntity>,
pub complete: bool,
}Fields§
§protocol_version: u8§subscription_id: String§snapshot_id: String§mode: Mode§export: String§op: &'static str§key: Option<String>§data: Vec<SnapshotEntity>§complete: boolTrait 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 (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 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 UnsafeUnpin 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