[][src]Struct eosio::ExtendedAsset

pub struct ExtendedAsset {
    pub quantity: Asset,
    pub contract: AccountName,
}

Extended asset which stores the information of the owner of the asset https://github.com/EOSIO/eosio.cdt/blob/4985359a30da1f883418b7133593f835927b8046/libraries/eosiolib/core/eosio/asset.hpp#L371-L481

Fields

quantity: Asset

The asset

contract: AccountName

The owner of the asset

Trait Implementations

impl Clone for ExtendedAsset[src]

impl Copy for ExtendedAsset[src]

impl Debug for ExtendedAsset[src]

impl Default for ExtendedAsset[src]

impl Display for ExtendedAsset[src]

impl NumBytes for ExtendedAsset[src]

impl PartialEq<ExtendedAsset> for ExtendedAsset[src]

impl PartialOrd<ExtendedAsset> for ExtendedAsset[src]

impl Read for ExtendedAsset[src]

impl StructuralPartialEq for ExtendedAsset[src]

impl Write for ExtendedAsset[src]

Auto Trait Implementations

impl Send for ExtendedAsset

impl Sync for ExtendedAsset

impl Unpin for ExtendedAsset

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> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.