pub struct AssignmentGeneration(/* private fields */);Expand description
A monotonically increasing generation for one exact shard-route assignment.
Implementations§
Trait Implementations§
Source§impl Clone for AssignmentGeneration
impl Clone for AssignmentGeneration
impl Copy for AssignmentGeneration
Source§impl Debug for AssignmentGeneration
impl Debug for AssignmentGeneration
Source§impl<'de> Deserialize<'de> for AssignmentGeneration
impl<'de> Deserialize<'de> for AssignmentGeneration
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 Display for AssignmentGeneration
impl Display for AssignmentGeneration
impl Eq for AssignmentGeneration
Source§impl Hash for AssignmentGeneration
impl Hash for AssignmentGeneration
Source§impl Ord for AssignmentGeneration
impl Ord for AssignmentGeneration
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AssignmentGeneration
impl PartialEq for AssignmentGeneration
Source§impl PartialOrd for AssignmentGeneration
impl PartialOrd for AssignmentGeneration
Source§impl Serialize for AssignmentGeneration
impl Serialize for AssignmentGeneration
impl StructuralPartialEq for AssignmentGeneration
Auto Trait Implementations§
impl Freeze for AssignmentGeneration
impl RefUnwindSafe for AssignmentGeneration
impl Send for AssignmentGeneration
impl Sync for AssignmentGeneration
impl Unpin for AssignmentGeneration
impl UnsafeUnpin for AssignmentGeneration
impl UnwindSafe for AssignmentGeneration
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