pub struct Consensus {
pub valid_after: i64,
pub fresh_until: i64,
pub params: BTreeMap<String, i32>,
pub shared_rand_current: Bytes,
pub shared_rand_previous: Bytes,
pub relays: Vec<Relay>,
}Fields§
§valid_after: i64§fresh_until: i64§params: BTreeMap<String, i32>§relays: Vec<Relay>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Consensus
impl RefUnwindSafe for Consensus
impl Send for Consensus
impl Sync for Consensus
impl Unpin for Consensus
impl UnsafeUnpin for Consensus
impl UnwindSafe for Consensus
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