[][src]Struct types::historical_batch::HistoricalBatch

pub struct HistoricalBatch<T: EthSpec> {
    pub block_roots: FixedVector<Hash256, T::SlotsPerHistoricalRoot>,
    pub state_roots: FixedVector<Hash256, T::SlotsPerHistoricalRoot>,
}

Historical block and state roots.

Spec v0.8.1

Fields

block_roots: FixedVector<Hash256, T::SlotsPerHistoricalRoot>state_roots: FixedVector<Hash256, T::SlotsPerHistoricalRoot>

Trait Implementations

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

impl<T: Clone + EthSpec> Clone for HistoricalBatch<T> where
    T::SlotsPerHistoricalRoot: Clone,
    T::SlotsPerHistoricalRoot: Clone
[src]

impl<T: PartialEq + EthSpec> PartialEq<HistoricalBatch<T>> for HistoricalBatch<T> where
    T::SlotsPerHistoricalRoot: PartialEq,
    T::SlotsPerHistoricalRoot: PartialEq
[src]

impl<T: Debug + EthSpec> Debug for HistoricalBatch<T> where
    T::SlotsPerHistoricalRoot: Debug,
    T::SlotsPerHistoricalRoot: Debug
[src]

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

impl<T: EthSpec> Serialize for HistoricalBatch<T>[src]

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

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

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

Auto Trait Implementations

impl<T> Send for HistoricalBatch<T> where
    <T as EthSpec>::SlotsPerHistoricalRoot: Send

impl<T> Unpin for HistoricalBatch<T> where
    <T as EthSpec>::SlotsPerHistoricalRoot: Unpin

impl<T> Sync for HistoricalBatch<T> where
    <T as EthSpec>::SlotsPerHistoricalRoot: Sync

impl<T> UnwindSafe for HistoricalBatch<T> where
    <T as EthSpec>::SlotsPerHistoricalRoot: UnwindSafe

impl<T> RefUnwindSafe for HistoricalBatch<T> where
    <T as EthSpec>::SlotsPerHistoricalRoot: 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