[][src]Struct types::crosslink::Crosslink

pub struct Crosslink {
    pub shard: u64,
    pub parent_root: Hash256,
    pub start_epoch: Epoch,
    pub end_epoch: Epoch,
    pub data_root: Hash256,

Specifies the block hash for a shard at an epoch.

Spec v0.8.0


shard: u64parent_root: Hash256start_epoch: Epochend_epoch: Epochdata_root: Hash256

Trait Implementations

impl TestRandom for Crosslink[src]

impl Eq for Crosslink[src]

impl Default for Crosslink[src]

impl Clone for Crosslink[src]

impl PartialEq<Crosslink> for Crosslink[src]

impl Hash for Crosslink[src]

impl Debug for Crosslink[src]

impl TreeHash for Crosslink[src]

impl Serialize for Crosslink[src]

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

impl Decode for Crosslink[src]

impl Encode for Crosslink[src]

Auto Trait Implementations

impl Send for Crosslink

impl Unpin for Crosslink

impl Sync for Crosslink

impl UnwindSafe for Crosslink

impl RefUnwindSafe for Crosslink

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