pub struct RoundId(pub u64);Expand description
Unique identifier for consensus rounds
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RoundId
impl<'de> Deserialize<'de> for RoundId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for RoundId
impl Eq for RoundId
impl StructuralPartialEq for RoundId
Auto Trait Implementations§
impl Freeze for RoundId
impl RefUnwindSafe for RoundId
impl Send for RoundId
impl Sync for RoundId
impl Unpin for RoundId
impl UnwindSafe for RoundId
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