[−][src]Struct eosio::ExtendedAsset
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]
fn clone(&self) -> ExtendedAsset
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ExtendedAsset
[src]
impl Debug for ExtendedAsset
[src]
impl Default for ExtendedAsset
[src]
fn default() -> ExtendedAsset
[src]
impl Display for ExtendedAsset
[src]
impl NumBytes for ExtendedAsset
[src]
impl PartialEq<ExtendedAsset> for ExtendedAsset
[src]
fn eq(&self, other: &ExtendedAsset) -> bool
[src]
fn ne(&self, other: &ExtendedAsset) -> bool
[src]
impl PartialOrd<ExtendedAsset> for ExtendedAsset
[src]
fn partial_cmp(&self, other: &ExtendedAsset) -> Option<Ordering>
[src]
fn lt(&self, other: &ExtendedAsset) -> bool
[src]
fn le(&self, other: &ExtendedAsset) -> bool
[src]
fn gt(&self, other: &ExtendedAsset) -> bool
[src]
fn ge(&self, other: &ExtendedAsset) -> bool
[src]
impl Read for ExtendedAsset
[src]
fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>
[src]
fn unpack<T: AsRef<[u8]>>(bytes: T) -> Result<Self, ReadError>
[src]
impl StructuralPartialEq for ExtendedAsset
[src]
impl Write for ExtendedAsset
[src]
fn write(&self, bytes: &mut [u8], pos: &mut usize) -> Result<(), WriteError>
[src]
fn pack(&self) -> Result<Vec<u8>, WriteError>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,