pub struct ReplicationSnapshotRecord {
pub sequence: u64,
pub payload: Vec<u8>,
}Expand description
Sequence-addressed event stored in a replication snapshot.
Fields§
§sequence: u64Source replication sequence.
payload: Vec<u8>Opaque serialized event bytes.
Trait Implementations§
Source§impl Clone for ReplicationSnapshotRecord
impl Clone for ReplicationSnapshotRecord
Source§fn clone(&self) -> ReplicationSnapshotRecord
fn clone(&self) -> ReplicationSnapshotRecord
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 ReplicationSnapshotRecord
impl Debug for ReplicationSnapshotRecord
Source§impl<'de> Deserialize<'de> for ReplicationSnapshotRecord
impl<'de> Deserialize<'de> for ReplicationSnapshotRecord
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
impl Eq for ReplicationSnapshotRecord
impl StructuralPartialEq for ReplicationSnapshotRecord
Auto Trait Implementations§
impl Freeze for ReplicationSnapshotRecord
impl RefUnwindSafe for ReplicationSnapshotRecord
impl Send for ReplicationSnapshotRecord
impl Sync for ReplicationSnapshotRecord
impl Unpin for ReplicationSnapshotRecord
impl UnsafeUnpin for ReplicationSnapshotRecord
impl UnwindSafe for ReplicationSnapshotRecord
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