[][src]Struct types::eth1_data::Eth1Data

pub struct Eth1Data {
    pub deposit_root: Hash256,
    pub deposit_count: u64,
    pub block_hash: Hash256,

Contains data obtained from the Eth1 chain.

Spec v0.8.1


deposit_root: Hash256deposit_count: u64block_hash: Hash256

Trait Implementations

impl TestRandom for Eth1Data[src]

impl Eq for Eth1Data[src]

impl Default for Eth1Data[src]

impl Clone for Eth1Data[src]

impl PartialEq<Eth1Data> for Eth1Data[src]

impl Hash for Eth1Data[src]

impl Debug for Eth1Data[src]

impl TreeHash for Eth1Data[src]

impl Serialize for Eth1Data[src]

impl<'de> Deserialize<'de> for Eth1Data[src]

impl Decode for Eth1Data[src]

impl Encode for Eth1Data[src]

Auto Trait Implementations

impl Send for Eth1Data

impl Unpin for Eth1Data

impl Sync for Eth1Data

impl UnwindSafe for Eth1Data

impl RefUnwindSafe for Eth1Data

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> Borrow<T> for T where
    T: ?Sized

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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