pub struct PublishSnapshotResponse {
pub placement: ShardPlacement,
pub snapshot_offset: u64,
pub group_commit_index: u64,
}Fields§
§placement: ShardPlacement§snapshot_offset: u64§group_commit_index: u64Trait Implementations§
Source§impl Clone for PublishSnapshotResponse
impl Clone for PublishSnapshotResponse
Source§fn clone(&self) -> PublishSnapshotResponse
fn clone(&self) -> PublishSnapshotResponse
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 PublishSnapshotResponse
impl Debug for PublishSnapshotResponse
Source§impl<'de> Deserialize<'de> for PublishSnapshotResponse
impl<'de> Deserialize<'de> for PublishSnapshotResponse
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
Source§impl PartialEq for PublishSnapshotResponse
impl PartialEq for PublishSnapshotResponse
Source§fn eq(&self, other: &PublishSnapshotResponse) -> bool
fn eq(&self, other: &PublishSnapshotResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PublishSnapshotResponse
impl Serialize for PublishSnapshotResponse
impl Eq for PublishSnapshotResponse
impl StructuralPartialEq for PublishSnapshotResponse
Auto Trait Implementations§
impl Freeze for PublishSnapshotResponse
impl RefUnwindSafe for PublishSnapshotResponse
impl Send for PublishSnapshotResponse
impl Sync for PublishSnapshotResponse
impl Unpin for PublishSnapshotResponse
impl UnsafeUnpin for PublishSnapshotResponse
impl UnwindSafe for PublishSnapshotResponse
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