[][src]Struct types::attester_slashing::AttesterSlashing

pub struct AttesterSlashing<T: EthSpec> {
    pub attestation_1: IndexedAttestation<T>,
    pub attestation_2: IndexedAttestation<T>,
}

Two conflicting attestations.

Spec v0.8.0

Fields

attestation_1: IndexedAttestation<T>attestation_2: IndexedAttestation<T>

Trait Implementations

impl<T: EthSpec> TestRandom for AttesterSlashing<T>[src]

impl<T: Clone + EthSpec> Clone for AttesterSlashing<T>[src]

impl<T: PartialEq + EthSpec> PartialEq<AttesterSlashing<T>> for AttesterSlashing<T>[src]

impl<T: Debug + EthSpec> Debug for AttesterSlashing<T>[src]

impl<T: EthSpec> TreeHash for AttesterSlashing<T>[src]

impl<T: EthSpec> Serialize for AttesterSlashing<T> where
    T: EthSpec
[src]

impl<'de, T: EthSpec> Deserialize<'de> for AttesterSlashing<T> where
    T: EthSpec
[src]

impl<T: EthSpec> Decode for AttesterSlashing<T>[src]

impl<T: EthSpec> Encode for AttesterSlashing<T>[src]

Auto Trait Implementations

impl<T> Send for AttesterSlashing<T> where
    <T as EthSpec>::MaxValidatorsPerCommittee: Send

impl<T> Unpin for AttesterSlashing<T> where
    <T as EthSpec>::MaxValidatorsPerCommittee: Unpin

impl<T> Sync for AttesterSlashing<T> where
    <T as EthSpec>::MaxValidatorsPerCommittee: Sync

impl<T> UnwindSafe for AttesterSlashing<T> where
    <T as EthSpec>::MaxValidatorsPerCommittee: UnwindSafe

impl<T> RefUnwindSafe for AttesterSlashing<T> where
    <T as EthSpec>::MaxValidatorsPerCommittee: RefUnwindSafe

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