Struct overlord::types::AggregatedChoke
source · [−]pub struct AggregatedChoke {
pub height: u64,
pub round: u64,
pub signature: Signature,
pub voters: Vec<Address>,
}
Expand description
An aggregated choke.
Fields
height: u64
The height of the aggregated choke.
round: u64
The round of the aggregated choke.
signature: Signature
The aggregated signature of the aggregated choke.
voters: Vec<Address>
The voters of the aggregated choke.
Trait Implementations
sourceimpl Clone for AggregatedChoke
impl Clone for AggregatedChoke
sourcefn clone(&self) -> AggregatedChoke
fn clone(&self) -> AggregatedChoke
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AggregatedChoke
impl Debug for AggregatedChoke
sourceimpl Decodable for AggregatedChoke
impl Decodable for AggregatedChoke
sourcefn decode(r: &Rlp<'_>) -> Result<Self, DecoderError>
fn decode(r: &Rlp<'_>) -> Result<Self, DecoderError>
Decode a value from RLP bytes
sourceimpl<'de> Deserialize<'de> for AggregatedChoke
impl<'de> Deserialize<'de> for AggregatedChoke
sourcefn 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
sourceimpl Encodable for AggregatedChoke
impl Encodable for AggregatedChoke
sourceimpl Hash for AggregatedChoke
impl Hash for AggregatedChoke
sourceimpl PartialEq<AggregatedChoke> for AggregatedChoke
impl PartialEq<AggregatedChoke> for AggregatedChoke
sourcefn eq(&self, other: &AggregatedChoke) -> bool
fn eq(&self, other: &AggregatedChoke) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AggregatedChoke) -> bool
fn ne(&self, other: &AggregatedChoke) -> bool
This method tests for !=
.
sourceimpl Serialize for AggregatedChoke
impl Serialize for AggregatedChoke
impl Eq for AggregatedChoke
impl StructuralEq for AggregatedChoke
impl StructuralPartialEq for AggregatedChoke
Auto Trait Implementations
impl RefUnwindSafe for AggregatedChoke
impl Send for AggregatedChoke
impl Sync for AggregatedChoke
impl Unpin for AggregatedChoke
impl UnwindSafe for AggregatedChoke
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