Struct jormungandr_lib::interfaces::time_era::EpochDef
source · pub struct EpochDef(pub u32);
Tuple Fields§
§0: u32
Implementations§
source§impl<'de> EpochDef
impl<'de> EpochDef
pub fn deserialize<__D>(__deserializer: __D) -> Result<Epoch, __D::Error>where __D: Deserializer<'de>,
Trait Implementations§
source§impl Ord for EpochDef
impl Ord for EpochDef
source§impl PartialEq<EpochDef> for EpochDef
impl PartialEq<EpochDef> for EpochDef
source§impl PartialOrd<EpochDef> for EpochDef
impl PartialOrd<EpochDef> for EpochDef
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 EpochDef
impl Eq for EpochDef
impl StructuralEq for EpochDef
impl StructuralPartialEq for EpochDef
Auto Trait Implementations§
impl RefUnwindSafe for EpochDef
impl Send for EpochDef
impl Sync for EpochDef
impl Unpin for EpochDef
impl UnwindSafe for EpochDef
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