pub struct PoLC {
pub lock_round: u64,
pub lock_votes: AggregatedVote,
}
Expand description
A PoLC.
Fields
lock_round: u64
Lock round of the proposal.
lock_votes: AggregatedVote
Lock votes of the proposal.
Trait Implementations
sourceimpl Decodable for PoLC
impl Decodable for PoLC
sourcefn decode(r: &Rlp<'_>) -> Result<Self, DecoderError>
fn decode(r: &Rlp<'_>) -> Result<Self, DecoderError>
Decode a value from RLP bytes
impl Eq for PoLC
impl StructuralEq for PoLC
impl StructuralPartialEq for PoLC
Auto Trait Implementations
impl RefUnwindSafe for PoLC
impl Send for PoLC
impl Sync for PoLC
impl Unpin for PoLC
impl UnwindSafe for PoLC
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more