[][src]Struct types::voluntary_exit::VoluntaryExit

pub struct VoluntaryExit {
    pub epoch: Epoch,
    pub validator_index: u64,
    pub signature: Signature,
}

An exit voluntarily submitted a validator who wishes to withdraw.

Spec v0.8.0

Fields

epoch: Epoch

Earliest epoch when voluntary exit can be processed.

validator_index: u64signature: Signature

Trait Implementations

impl TestRandom for VoluntaryExit[src]

impl Clone for VoluntaryExit[src]

impl PartialEq<VoluntaryExit> for VoluntaryExit[src]

impl Debug for VoluntaryExit[src]

impl SignedRoot for VoluntaryExit[src]

impl TreeHash for VoluntaryExit[src]

impl Serialize for VoluntaryExit[src]

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

impl Decode for VoluntaryExit[src]

impl Encode for VoluntaryExit[src]

Auto Trait Implementations

impl Send for VoluntaryExit

impl Unpin for VoluntaryExit

impl Sync for VoluntaryExit

impl UnwindSafe for VoluntaryExit

impl RefUnwindSafe for VoluntaryExit

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