[][src]Struct types::transfer::Transfer

pub struct Transfer {
    pub sender: u64,
    pub recipient: u64,
    pub amount: u64,
    pub fee: u64,
    pub slot: Slot,
    pub pubkey: PublicKey,
    pub signature: Signature,
}

The data submitted to the deposit contract.

Spec v0.8.0

Fields

sender: u64recipient: u64amount: u64fee: u64slot: Slotpubkey: PublicKeysignature: Signature

Trait Implementations

impl TestRandom for Transfer[src]

impl Eq for Transfer[src]

impl Clone for Transfer[src]

impl PartialEq<Transfer> for Transfer[src]

impl Hash for Transfer[src]

impl Debug for Transfer[src]

impl SignedRoot for Transfer[src]

impl TreeHash for Transfer[src]

impl Serialize for Transfer[src]

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

impl Decode for Transfer[src]

impl Encode for Transfer[src]

Auto Trait Implementations

impl Send for Transfer

impl Unpin for Transfer

impl Sync for Transfer

impl UnwindSafe for Transfer

impl RefUnwindSafe for Transfer

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