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