pub struct ReactiveCollectionSnapshotFrame {
pub format: String,
pub version: u8,
pub kind: ReactiveCollectionKind,
pub change_cursor: i64,
pub snapshot: Value,
}Expand description
ReactiveCollectionSnapshotFrame data container.
Fields§
§format: Stringformat field for format.
version: u8version field for version.
kind: ReactiveCollectionKindkind field for kind.
change_cursor: i64change_cursor field for change cursor.
snapshot: Valuesnapshot field for snapshot.
Trait Implementations§
Source§impl Clone for ReactiveCollectionSnapshotFrame
impl Clone for ReactiveCollectionSnapshotFrame
Source§fn clone(&self) -> ReactiveCollectionSnapshotFrame
fn clone(&self) -> ReactiveCollectionSnapshotFrame
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 Codec<ReactiveCollectionSnapshotFrame> for ReactiveCollectionSnapshotFrameCodec
impl Codec<ReactiveCollectionSnapshotFrame> for ReactiveCollectionSnapshotFrameCodec
Source§fn encode(
&self,
value: &ReactiveCollectionSnapshotFrame,
) -> JsonCodecResult<Vec<u8>>
fn encode( &self, value: &ReactiveCollectionSnapshotFrame, ) -> JsonCodecResult<Vec<u8>>
Updates or reads
encode.Source§fn decode(
&self,
bytes: &[u8],
) -> JsonCodecResult<ReactiveCollectionSnapshotFrame>
fn decode( &self, bytes: &[u8], ) -> JsonCodecResult<ReactiveCollectionSnapshotFrame>
Updates or reads
decode.Source§impl<'de> Deserialize<'de> for ReactiveCollectionSnapshotFrame
impl<'de> Deserialize<'de> for ReactiveCollectionSnapshotFrame
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
Source§impl PartialEq for ReactiveCollectionSnapshotFrame
impl PartialEq for ReactiveCollectionSnapshotFrame
Source§fn eq(&self, other: &ReactiveCollectionSnapshotFrame) -> bool
fn eq(&self, other: &ReactiveCollectionSnapshotFrame) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReactiveCollectionSnapshotFrame
Auto Trait Implementations§
impl Freeze for ReactiveCollectionSnapshotFrame
impl RefUnwindSafe for ReactiveCollectionSnapshotFrame
impl Send for ReactiveCollectionSnapshotFrame
impl Sync for ReactiveCollectionSnapshotFrame
impl Unpin for ReactiveCollectionSnapshotFrame
impl UnsafeUnpin for ReactiveCollectionSnapshotFrame
impl UnwindSafe for ReactiveCollectionSnapshotFrame
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