[][src]Struct types::attestation_data::AttestationData

pub struct AttestationData {
    pub beacon_block_root: Hash256,
    pub source: Checkpoint,
    pub target: Checkpoint,
    pub crosslink: Crosslink,

The data upon which an attestation is based.

Spec v0.8.0


beacon_block_root: Hash256source: Checkpointtarget: Checkpointcrosslink: Crosslink

Trait Implementations

impl TestRandom for AttestationData[src]

impl Eq for AttestationData[src]

impl Clone for AttestationData[src]

impl PartialEq<AttestationData> for AttestationData[src]

impl Hash for AttestationData[src]

impl Debug for AttestationData[src]

impl TreeHash for AttestationData[src]

impl Serialize for AttestationData[src]

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

impl Decode for AttestationData[src]

impl Encode for AttestationData[src]

Auto Trait Implementations

impl Send for AttestationData

impl Unpin for AttestationData

impl Sync for AttestationData

impl UnwindSafe for AttestationData

impl RefUnwindSafe for AttestationData

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