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