pub struct EpochInfo {
pub number: u64,
pub start_view: u64,
pub validator_count: usize,
}Expand description
Epoch info returned by get_epoch
Fields§
§number: u64§start_view: u64§validator_count: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for EpochInfo
impl RefUnwindSafe for EpochInfo
impl Send for EpochInfo
impl Sync for EpochInfo
impl Unpin for EpochInfo
impl UnsafeUnpin for EpochInfo
impl UnwindSafe for EpochInfo
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