[−][src]Struct eosio_core::Asset
TODO docs
Fields
amount: i64
TODO docs
symbol: Symbol
TODO docs
Methods
impl Asset
[src]
Trait Implementations
impl CheckedAdd<i64> for Asset
[src]
impl CheckedAdd<u64> for Asset
[src]
impl CheckedAdd<u128> for Asset
[src]
impl CheckedAdd<i128> for Asset
[src]
impl CheckedAdd<isize> for Asset
[src]
impl CheckedAdd<usize> for Asset
[src]
impl CheckedAdd<Asset> for Asset
[src]
type Output = Result<Self, AssetOpError>
TODO docs
fn checked_add(self, other: Self) -> Self::Output
[src]
impl CheckedSub<i64> for Asset
[src]
impl CheckedSub<u64> for Asset
[src]
impl CheckedSub<u128> for Asset
[src]
impl CheckedSub<i128> for Asset
[src]
impl CheckedSub<isize> for Asset
[src]
impl CheckedSub<usize> for Asset
[src]
impl CheckedSub<Asset> for Asset
[src]
type Output = Result<Self, AssetOpError>
TODO docs
fn checked_sub(self, other: Self) -> Self::Output
[src]
impl CheckedMul<i64> for Asset
[src]
impl CheckedMul<u64> for Asset
[src]
impl CheckedMul<u128> for Asset
[src]
impl CheckedMul<i128> for Asset
[src]
impl CheckedMul<isize> for Asset
[src]
impl CheckedMul<usize> for Asset
[src]
impl CheckedMul<Asset> for Asset
[src]
type Output = Result<Self, AssetOpError>
TODO docs
fn checked_mul(self, other: Self) -> Self::Output
[src]
impl CheckedDiv<i64> for Asset
[src]
impl CheckedDiv<u64> for Asset
[src]
impl CheckedDiv<u128> for Asset
[src]
impl CheckedDiv<i128> for Asset
[src]
impl CheckedDiv<isize> for Asset
[src]
impl CheckedDiv<usize> for Asset
[src]
impl CheckedDiv<Asset> for Asset
[src]
type Output = Result<Self, AssetDivOpError>
TODO docs
fn checked_div(self, other: Self) -> Self::Output
[src]
impl CheckedRem<i64> for Asset
[src]
impl CheckedRem<u64> for Asset
[src]
impl CheckedRem<u128> for Asset
[src]
impl CheckedRem<i128> for Asset
[src]
impl CheckedRem<isize> for Asset
[src]
impl CheckedRem<usize> for Asset
[src]
impl CheckedRem<Asset> for Asset
[src]
type Output = Result<Self, AssetOpError>
TODO docs
fn checked_rem(self, other: Self) -> Self::Output
[src]
impl PartialEq<Asset> for Asset
[src]
impl Copy for Asset
[src]
impl Clone for Asset
[src]
fn clone(&self) -> Asset
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for Asset
[src]
impl Debug for Asset
[src]
impl Display for Asset
[src]
impl Sub<Asset> for Asset
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, rhs: Self) -> Self::Output
[src]
impl Sub<i64> for Asset
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, rhs: i64) -> Self::Output
[src]
impl Sub<Asset> for i64
[src]
type Output = Asset
The resulting type after applying the -
operator.
fn sub(self, rhs: Asset) -> Self::Output
[src]
impl Add<Asset> for Asset
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: Self) -> Self::Output
[src]
impl Add<i64> for Asset
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: i64) -> Self::Output
[src]
impl Add<Asset> for i64
[src]
type Output = Asset
The resulting type after applying the +
operator.
fn add(self, rhs: Asset) -> Self::Output
[src]
impl Mul<Asset> for Asset
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: Self) -> Self::Output
[src]
impl Mul<i64> for Asset
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: i64) -> Self::Output
[src]
impl Mul<Asset> for i64
[src]
type Output = Asset
The resulting type after applying the *
operator.
fn mul(self, rhs: Asset) -> Self::Output
[src]
impl Div<Asset> for Asset
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, rhs: Self) -> Self::Output
[src]
impl Div<i64> for Asset
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, rhs: i64) -> Self::Output
[src]
impl Div<Asset> for i64
[src]
type Output = Asset
The resulting type after applying the /
operator.
fn div(self, rhs: Asset) -> Self::Output
[src]
impl Rem<Asset> for Asset
[src]
type Output = Self
The resulting type after applying the %
operator.
fn rem(self, rhs: Self) -> Self::Output
[src]
impl Rem<i64> for Asset
[src]
type Output = Self
The resulting type after applying the %
operator.
fn rem(self, rhs: i64) -> Self::Output
[src]
impl Rem<Asset> for i64
[src]
type Output = Asset
The resulting type after applying the %
operator.
fn rem(self, rhs: Asset) -> Self::Output
[src]
impl AddAssign<Asset> for Asset
[src]
fn add_assign(&mut self, rhs: Self)
[src]
impl AddAssign<i64> for Asset
[src]
fn add_assign(&mut self, rhs: i64)
[src]
impl SubAssign<Asset> for Asset
[src]
fn sub_assign(&mut self, rhs: Self)
[src]
impl SubAssign<i64> for Asset
[src]
fn sub_assign(&mut self, rhs: i64)
[src]
impl MulAssign<Asset> for Asset
[src]
fn mul_assign(&mut self, rhs: Self)
[src]
impl MulAssign<i64> for Asset
[src]
fn mul_assign(&mut self, rhs: i64)
[src]
impl DivAssign<Asset> for Asset
[src]
fn div_assign(&mut self, rhs: Self)
[src]
impl DivAssign<i64> for Asset
[src]
fn div_assign(&mut self, rhs: i64)
[src]
impl RemAssign<Asset> for Asset
[src]
fn rem_assign(&mut self, rhs: Self)
[src]
impl RemAssign<i64> for Asset
[src]
fn rem_assign(&mut self, rhs: i64)
[src]
impl FromStr for Asset
[src]
type Err = ParseAssetError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
impl<'_> TryFrom<&'_ str> for Asset
[src]
type Error = ParseAssetError
The type returned in the event of a conversion error.
fn try_from(value: &str) -> Result<Self, Self::Error>
[src]
impl TryFrom<String> for Asset
[src]
type Error = ParseAssetError
The type returned in the event of a conversion error.
fn try_from(value: String) -> Result<Self, Self::Error>
[src]
impl Read for Asset
[src]
impl Write for Asset
[src]
impl NumBytes for Asset
[src]
impl Serialize for Asset
[src]
impl<'de> Deserialize<'de> for Asset
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
Blanket Implementations
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, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From<T> for T
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,