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

Fields

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