[][src]Struct types::compact_committee::CompactCommittee

pub struct CompactCommittee<T: EthSpec> {
    pub pubkeys: VariableList<PublicKey, T::MaxValidatorsPerCommittee>,
    pub compact_validators: VariableList<u64, T::MaxValidatorsPerCommittee>,
}

Spec v0.8.0

Fields

pubkeys: VariableList<PublicKey, T::MaxValidatorsPerCommittee>compact_validators: VariableList<u64, T::MaxValidatorsPerCommittee>

Trait Implementations

impl<T: EthSpec> TestRandom for CompactCommittee<T>[src]

impl<T: EthSpec> Default for CompactCommittee<T>[src]

impl<T: Clone + EthSpec> Clone for CompactCommittee<T> where
    T::MaxValidatorsPerCommittee: Clone,
    T::MaxValidatorsPerCommittee: Clone
[src]

impl<T: PartialEq + EthSpec> PartialEq<CompactCommittee<T>> for CompactCommittee<T> where
    T::MaxValidatorsPerCommittee: PartialEq,
    T::MaxValidatorsPerCommittee: PartialEq
[src]

impl<T: Debug + EthSpec> Debug for CompactCommittee<T> where
    T::MaxValidatorsPerCommittee: Debug,
    T::MaxValidatorsPerCommittee: Debug
[src]

impl<T: EthSpec> TreeHash for CompactCommittee<T>[src]

impl<T: EthSpec> Serialize for CompactCommittee<T> where
    T: EthSpec
[src]

impl<'de, T: EthSpec> Deserialize<'de> for CompactCommittee<T> where
    T: EthSpec
[src]

impl<T: EthSpec> Decode for CompactCommittee<T>[src]

impl<T: EthSpec> Encode for CompactCommittee<T>[src]

Auto Trait Implementations

impl<T> Send for CompactCommittee<T> where
    <T as EthSpec>::MaxValidatorsPerCommittee: Send

impl<T> Unpin for CompactCommittee<T> where
    <T as EthSpec>::MaxValidatorsPerCommittee: Unpin

impl<T> Sync for CompactCommittee<T> where
    <T as EthSpec>::MaxValidatorsPerCommittee: Sync

impl<T> UnwindSafe for CompactCommittee<T> where
    <T as EthSpec>::MaxValidatorsPerCommittee: UnwindSafe

impl<T> RefUnwindSafe for CompactCommittee<T> where
    <T as EthSpec>::MaxValidatorsPerCommittee: RefUnwindSafe

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized