pub struct SnapshotEntity {
pub partition_key: String,
pub row_key: String,
pub sequence_nr: i64,
pub payload_b64: String,
pub timestamp_ms: i64,
}Fields§
§partition_key: String§row_key: String§sequence_nr: i64§payload_b64: String§timestamp_ms: i64Implementations§
Source§impl SnapshotEntity
impl SnapshotEntity
pub fn from_meta(meta: &SnapshotMetadata, payload: &[u8]) -> Self
pub fn into_parts(self) -> (SnapshotMetadata, Vec<u8>)
Trait Implementations§
Source§impl Clone for SnapshotEntity
impl Clone for SnapshotEntity
Source§fn clone(&self) -> SnapshotEntity
fn clone(&self) -> SnapshotEntity
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 SnapshotEntity
impl Debug for SnapshotEntity
Source§impl<'de> Deserialize<'de> for SnapshotEntity
impl<'de> Deserialize<'de> for SnapshotEntity
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
Auto Trait Implementations§
impl Freeze for SnapshotEntity
impl RefUnwindSafe for SnapshotEntity
impl Send for SnapshotEntity
impl Sync for SnapshotEntity
impl Unpin for SnapshotEntity
impl UnsafeUnpin for SnapshotEntity
impl UnwindSafe for SnapshotEntity
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