pub struct ProposerPriority(/* private fields */);
Expand description
Proposer priority
Implementations§
Trait Implementations§
Source§impl Clone for ProposerPriority
impl Clone for ProposerPriority
Source§fn clone(&self) -> ProposerPriority
fn clone(&self) -> ProposerPriority
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 ProposerPriority
impl Debug for ProposerPriority
Source§impl Default for ProposerPriority
impl Default for ProposerPriority
Source§fn default() -> ProposerPriority
fn default() -> ProposerPriority
Returns the “default value” for a type. Read more
Source§impl From<ProposerPriority> for i64
impl From<ProposerPriority> for i64
Source§fn from(priority: ProposerPriority) -> i64
fn from(priority: ProposerPriority) -> i64
Converts to this type from the input type.
Source§impl From<i64> for ProposerPriority
impl From<i64> for ProposerPriority
Source§impl Ord for ProposerPriority
impl Ord for ProposerPriority
Source§fn cmp(&self, other: &ProposerPriority) -> Ordering
fn cmp(&self, other: &ProposerPriority) -> 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 for ProposerPriority
impl PartialEq for ProposerPriority
Source§impl PartialOrd for ProposerPriority
impl PartialOrd for ProposerPriority
impl Copy for ProposerPriority
impl Eq for ProposerPriority
impl StructuralPartialEq for ProposerPriority
Auto Trait Implementations§
impl Freeze for ProposerPriority
impl RefUnwindSafe for ProposerPriority
impl Send for ProposerPriority
impl Sync for ProposerPriority
impl Unpin for ProposerPriority
impl UnwindSafe for ProposerPriority
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