Struct jormungandr_lib::interfaces::leadership_log::LeadershipLogId
source · pub struct LeadershipLogId(BlockDate);
Expand description
log identifier in the leadership log. Can be used to update back some.
Tuple Fields§
§0: BlockDate
Trait Implementations§
source§impl Clone for LeadershipLogId
impl Clone for LeadershipLogId
source§fn clone(&self) -> LeadershipLogId
fn clone(&self) -> LeadershipLogId
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 LeadershipLogId
impl Debug for LeadershipLogId
source§impl Hash for LeadershipLogId
impl Hash for LeadershipLogId
source§impl Ord for LeadershipLogId
impl Ord for LeadershipLogId
source§fn cmp(&self, other: &LeadershipLogId) -> Ordering
fn cmp(&self, other: &LeadershipLogId) -> 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<LeadershipLogId> for LeadershipLogId
impl PartialEq<LeadershipLogId> for LeadershipLogId
source§fn eq(&self, other: &LeadershipLogId) -> bool
fn eq(&self, other: &LeadershipLogId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<LeadershipLogId> for LeadershipLogId
impl PartialOrd<LeadershipLogId> for LeadershipLogId
source§fn partial_cmp(&self, other: &LeadershipLogId) -> Option<Ordering>
fn partial_cmp(&self, other: &LeadershipLogId) -> 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 LeadershipLogId
impl Eq for LeadershipLogId
impl StructuralEq for LeadershipLogId
impl StructuralPartialEq for LeadershipLogId
Auto Trait Implementations§
impl RefUnwindSafe for LeadershipLogId
impl Send for LeadershipLogId
impl Sync for LeadershipLogId
impl Unpin for LeadershipLogId
impl UnwindSafe for LeadershipLogId
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