Struct chain_time::timeframe::SlotAndDuration
source · pub struct SlotAndDuration {
pub slot: Slot,
pub offset: Duration,
}
Expand description
Identify a slot in a specific timeframe and a leftover duration
Fields§
§slot: Slot
The slot
offset: Duration
The offset of a specific time frame in
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SlotAndDuration
impl Send for SlotAndDuration
impl Sync for SlotAndDuration
impl Unpin for SlotAndDuration
impl UnwindSafe for SlotAndDuration
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