[][src]Struct substrate_subxt::balances::TransferEvent

pub struct TransferEvent<T: Balances> {
    pub from: <T as System>::AccountId,
    pub to: <T as System>::AccountId,
    pub amount: T::Balance,
}

Transfer event.

Fields

from: <T as System>::AccountId

Account balance was transfered from.

to: <T as System>::AccountId

Account balance was transfered to.

amount: T::Balance

Amount of balance that was transfered.

Trait Implementations

impl<T: Clone + Balances> Clone for TransferEvent<T> where
    T::Balance: Clone
[src]

impl<T: Debug + Balances> Debug for TransferEvent<T> where
    T::Balance: Debug
[src]

impl<T: Balances> Decode for TransferEvent<T> where
    <T as System>::AccountId: Decode,
    <T as System>::AccountId: Decode,
    <T as System>::AccountId: Decode,
    <T as System>::AccountId: Decode,
    T::Balance: Decode,
    T::Balance: Decode
[src]

impl<T: Eq + Balances> Eq for TransferEvent<T> where
    T::Balance: Eq
[src]

impl<T: Balances> Event<T> for TransferEvent<T>[src]

impl<T: PartialEq + Balances> PartialEq<TransferEvent<T>> for TransferEvent<T> where
    T::Balance: PartialEq
[src]

impl<T: Balances> StructuralEq for TransferEvent<T>[src]

impl<T: Balances> StructuralPartialEq for TransferEvent<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for TransferEvent<T> where
    <T as System>::AccountId: RefUnwindSafe,
    <T as Balances>::Balance: RefUnwindSafe

impl<T> Send for TransferEvent<T> where
    <T as System>::AccountId: Send,
    <T as Balances>::Balance: Send

impl<T> Sync for TransferEvent<T> where
    <T as System>::AccountId: Sync,
    <T as Balances>::Balance: Sync

impl<T> Unpin for TransferEvent<T> where
    <T as System>::AccountId: Unpin,
    <T as Balances>::Balance: Unpin

impl<T> UnwindSafe for TransferEvent<T> where
    <T as System>::AccountId: UnwindSafe,
    <T as Balances>::Balance: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CheckedConversion for T[src]

impl<T, X> Decode for X where
    T: Decode + Into<X>,
    X: WrapperTypeDecode<Wrapped = T>, 
[src]

impl<T> DecodeAll for T where
    T: Decode
[src]

impl<T> DecodeLimit for T where
    T: Decode
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, Outer> IsWrappedBy<Outer> for T where
    Outer: AsRef<T> + AsMut<T> + From<T>,
    T: From<Outer>, 
[src]

fn from_ref(outer: &Outer) -> &T[src]

Get a reference to the inner from the outer.

fn from_mut(outer: &mut Outer) -> &mut T[src]

Get a mutable reference to the inner from the outer.

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeRefUnwindSafe for T where
    T: RefUnwindSafe

impl<T> Member for T where
    T: 'static + Clone + PartialEq<T> + Eq + Send + Sync + Debug
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatedConversion for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<S, T> UncheckedInto<T> for S where
    T: UncheckedFrom<S>, 
[src]

impl<T, S> UniqueSaturatedInto<T> for S where
    S: TryInto<T>,
    T: Bounded

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,