pub struct ReadSnapshotResponse {
pub placement: ShardPlacement,
pub snapshot_offset: u64,
pub next_offset: u64,
pub content_type: String,
pub snapshot_digest: String,
pub payload: Vec<u8>,
pub up_to_date: bool,
pub record_range: Option<StreamRecordRange>,
}Fields§
§placement: ShardPlacement§snapshot_offset: u64§next_offset: u64§content_type: String§snapshot_digest: String§payload: Vec<u8>§up_to_date: bool§record_range: Option<StreamRecordRange>Trait 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
impl Eq for ReadSnapshotResponse
Source§impl PartialEq for ReadSnapshotResponse
impl PartialEq 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