pub struct ReadSnapshotResponse {
pub placement: ShardPlacement,
pub snapshot_offset: u64,
pub next_offset: u64,
pub content_type: String,
pub payload: Vec<u8>,
pub up_to_date: bool,
}Fields§
§placement: ShardPlacement§snapshot_offset: u64§next_offset: u64§content_type: String§payload: Vec<u8>§up_to_date: boolTrait Implementations§
Source§impl Clone for ReadSnapshotResponse
impl Clone for ReadSnapshotResponse
Source§fn clone(&self) -> ReadSnapshotResponse
fn clone(&self) -> ReadSnapshotResponse
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 ReadSnapshotResponse
impl Debug for ReadSnapshotResponse
Source§impl PartialEq for ReadSnapshotResponse
impl PartialEq for ReadSnapshotResponse
Source§fn eq(&self, other: &ReadSnapshotResponse) -> bool
fn eq(&self, other: &ReadSnapshotResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ReadSnapshotResponse
impl StructuralPartialEq for ReadSnapshotResponse
Auto Trait Implementations§
impl Freeze for ReadSnapshotResponse
impl RefUnwindSafe for ReadSnapshotResponse
impl Send for ReadSnapshotResponse
impl Sync for ReadSnapshotResponse
impl Unpin for ReadSnapshotResponse
impl UnsafeUnpin for ReadSnapshotResponse
impl UnwindSafe for ReadSnapshotResponse
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