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