[][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

Fields

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
[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