[][src]Struct types::proposer_slashing::ProposerSlashing

pub struct ProposerSlashing {
    pub proposer_index: u64,
    pub header_1: BeaconBlockHeader,
    pub header_2: BeaconBlockHeader,

Two conflicting proposals from the same proposer (validator).

Spec v0.8.1


proposer_index: u64header_1: BeaconBlockHeaderheader_2: BeaconBlockHeader

Trait Implementations

impl TestRandom for ProposerSlashing[src]

impl Clone for ProposerSlashing[src]

impl PartialEq<ProposerSlashing> for ProposerSlashing[src]

impl Debug for ProposerSlashing[src]

impl TreeHash for ProposerSlashing[src]

impl Serialize for ProposerSlashing[src]

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

impl Decode for ProposerSlashing[src]

impl Encode for ProposerSlashing[src]

Auto Trait Implementations

impl Send for ProposerSlashing

impl Unpin for ProposerSlashing

impl Sync for ProposerSlashing

impl UnwindSafe for ProposerSlashing

impl RefUnwindSafe for ProposerSlashing

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