pub struct BootstrapRequest {
pub protocol: ProtocolVersion,
pub request_id: RequestId,
pub session: SessionMetadata,
pub snapshot_id: Option<SnapshotId>,
pub offset: u64,
pub limits: SnapshotLimits,
pub capabilities: Vec<Capability>,
}Expand description
Request to begin or resume a consistent snapshot bootstrap.
Fields§
§protocol: ProtocolVersionWire protocol version.
request_id: RequestIdUnique request identity used only for correlation and diagnostics.
session: SessionMetadataAuthenticated session and partial scope.
snapshot_id: Option<SnapshotId>Existing consistent snapshot when resuming, or None to begin.
offset: u64Zero-based entity offset requested from the snapshot.
limits: SnapshotLimitsPage bounds the server must honor.
capabilities: Vec<Capability>Client features used for negotiation.
Trait Implementations§
Source§impl Clone for BootstrapRequest
impl Clone for BootstrapRequest
Source§fn clone(&self) -> BootstrapRequest
fn clone(&self) -> BootstrapRequest
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 BootstrapRequest
impl Debug for BootstrapRequest
Source§impl<'de> Deserialize<'de> for BootstrapRequest
impl<'de> Deserialize<'de> for BootstrapRequest
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 BootstrapRequest
Source§impl PartialEq for BootstrapRequest
impl PartialEq for BootstrapRequest
Source§impl Serialize for BootstrapRequest
impl Serialize for BootstrapRequest
impl StructuralPartialEq for BootstrapRequest
Auto Trait Implementations§
impl Freeze for BootstrapRequest
impl RefUnwindSafe for BootstrapRequest
impl Send for BootstrapRequest
impl Sync for BootstrapRequest
impl Unpin for BootstrapRequest
impl UnsafeUnpin for BootstrapRequest
impl UnwindSafe for BootstrapRequest
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