[][src]Struct oasis_types::Balance

#[repr(C)]pub struct Balance(pub u128);

Methods

impl Balance[src]

pub const fn size() -> usize[src]

Trait Implementations

impl Add<Balance> for Balance[src]

type Output = Balance

The resulting type after applying the + operator.

impl AddAssign<Balance> for Balance[src]

impl BorshDeserialize for Balance[src]

impl BorshSerialize for Balance[src]

impl Clone for Balance[src]

impl Copy for Balance[src]

impl Debug for Balance[src]

impl Default for Balance[src]

impl Display for Balance[src]

impl<__RhsT> Div<__RhsT> for Balance where
    u128: Div<__RhsT, Output = u128>, 
[src]

type Output = Balance

The resulting type after applying the / operator.

impl<__RhsT> DivAssign<__RhsT> for Balance where
    u128: DivAssign<__RhsT>, 
[src]

impl Eq for Balance[src]

impl From<Balance> for u128[src]

impl From<u128> for Balance[src]

impl FromStr for Balance[src]

type Err = <u128 as FromStr>::Err

The associated error which can be returned from parsing.

impl Hash for Balance[src]

impl LowerHex for Balance[src]

impl<__RhsT> Mul<__RhsT> for Balance where
    u128: Mul<__RhsT, Output = u128>, 
[src]

type Output = Balance

The resulting type after applying the * operator.

impl<__RhsT> MulAssign<__RhsT> for Balance where
    u128: MulAssign<__RhsT>, 
[src]

impl Ord for Balance[src]

impl PartialEq<Balance> for Balance[src]

impl PartialEq<i128> for Balance[src]

impl PartialEq<i16> for Balance[src]

impl PartialEq<i32> for Balance[src]

impl PartialEq<i64> for Balance[src]

impl PartialEq<i8> for Balance[src]

impl PartialEq<u128> for Balance[src]

impl PartialEq<u16> for Balance[src]

impl PartialEq<u32> for Balance[src]

impl PartialEq<u64> for Balance[src]

impl PartialEq<u8> for Balance[src]

impl PartialOrd<Balance> for Balance[src]

impl PartialOrd<i128> for Balance[src]

impl PartialOrd<i16> for Balance[src]

impl PartialOrd<i32> for Balance[src]

impl PartialOrd<i64> for Balance[src]

impl PartialOrd<i8> for Balance[src]

impl PartialOrd<u128> for Balance[src]

impl PartialOrd<u16> for Balance[src]

impl PartialOrd<u32> for Balance[src]

impl PartialOrd<u64> for Balance[src]

impl PartialOrd<u8> for Balance[src]

impl<__RhsT> Rem<__RhsT> for Balance where
    u128: Rem<__RhsT, Output = u128>, 
[src]

type Output = Balance

The resulting type after applying the % operator.

impl<__RhsT> RemAssign<__RhsT> for Balance where
    u128: RemAssign<__RhsT>, 
[src]

impl StructuralEq for Balance[src]

impl StructuralPartialEq for Balance[src]

impl Sub<Balance> for Balance[src]

type Output = Balance

The resulting type after applying the - operator.

impl SubAssign<Balance> for Balance[src]

impl UpperHex for Balance[src]

Auto Trait Implementations

impl RefUnwindSafe for Balance

impl Send for Balance

impl Sync for Balance

impl Unpin for Balance

impl UnwindSafe for Balance

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.