Struct zookeeper_client::CreateSequence
source · pub struct CreateSequence(pub i32);
Expand description
Thin wrapper to encapsulate sequential node’s sequence number.
It prints in ten decimal digits with possible leading padding 0.
Tuple Fields§
§0: i32
Trait Implementations§
source§impl Clone for CreateSequence
impl Clone for CreateSequence
source§fn clone(&self) -> CreateSequence
fn clone(&self) -> CreateSequence
Returns a copy of the value. Read more
1.0.0 · 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 CreateSequence
impl Debug for CreateSequence
source§impl Display for CreateSequence
impl Display for CreateSequence
source§impl Hash for CreateSequence
impl Hash for CreateSequence
source§impl Ord for CreateSequence
impl Ord for CreateSequence
source§fn cmp(&self, other: &CreateSequence) -> Ordering
fn cmp(&self, other: &CreateSequence) -> Ordering
1.21.0 · 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
source§impl PartialEq<CreateSequence> for CreateSequence
impl PartialEq<CreateSequence> for CreateSequence
source§fn eq(&self, other: &CreateSequence) -> bool
fn eq(&self, other: &CreateSequence) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<CreateSequence> for CreateSequence
impl PartialOrd<CreateSequence> for CreateSequence
source§fn partial_cmp(&self, other: &CreateSequence) -> Option<Ordering>
fn partial_cmp(&self, other: &CreateSequence) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for CreateSequence
impl Eq for CreateSequence
impl StructuralEq for CreateSequence
impl StructuralPartialEq for CreateSequence
Auto Trait Implementations§
impl RefUnwindSafe for CreateSequence
impl Send for CreateSequence
impl Sync for CreateSequence
impl Unpin for CreateSequence
impl UnwindSafe for CreateSequence
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
source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere T: Display,
source§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString
. Read more