Struct jormungandr_lib::interfaces::ProposalExpiration
source · pub struct ProposalExpiration(u32);
Tuple Fields§
§0: u32
Trait Implementations§
source§impl Clone for ProposalExpiration
impl Clone for ProposalExpiration
source§fn clone(&self) -> ProposalExpiration
fn clone(&self) -> ProposalExpiration
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 ProposalExpiration
impl Debug for ProposalExpiration
source§impl Default for ProposalExpiration
impl Default for ProposalExpiration
source§impl<'de> Deserialize<'de> for ProposalExpiration
impl<'de> Deserialize<'de> for ProposalExpiration
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 ProposalExpiration
impl Display for ProposalExpiration
source§impl From<ProposalExpiration> for u32
impl From<ProposalExpiration> for u32
source§fn from(v: ProposalExpiration) -> Self
fn from(v: ProposalExpiration) -> Self
Converts to this type from the input type.
source§impl From<u32> for ProposalExpiration
impl From<u32> for ProposalExpiration
source§impl Hash for ProposalExpiration
impl Hash for ProposalExpiration
source§impl Ord for ProposalExpiration
impl Ord for ProposalExpiration
source§fn cmp(&self, other: &ProposalExpiration) -> Ordering
fn cmp(&self, other: &ProposalExpiration) -> 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<ProposalExpiration> for ProposalExpiration
impl PartialEq<ProposalExpiration> for ProposalExpiration
source§fn eq(&self, other: &ProposalExpiration) -> bool
fn eq(&self, other: &ProposalExpiration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ProposalExpiration> for ProposalExpiration
impl PartialOrd<ProposalExpiration> for ProposalExpiration
source§fn partial_cmp(&self, other: &ProposalExpiration) -> Option<Ordering>
fn partial_cmp(&self, other: &ProposalExpiration) -> 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 moresource§impl Serialize for ProposalExpiration
impl Serialize for ProposalExpiration
impl Copy for ProposalExpiration
impl Eq for ProposalExpiration
impl StructuralEq for ProposalExpiration
impl StructuralPartialEq for ProposalExpiration
Auto Trait Implementations§
impl RefUnwindSafe for ProposalExpiration
impl Send for ProposalExpiration
impl Sync for ProposalExpiration
impl Unpin for ProposalExpiration
impl UnwindSafe for ProposalExpiration
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