[][src]Struct oasis_std::Balance

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

Methods

impl Balance[src]

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

Trait Implementations

impl LowerHex for Balance[src]

impl Sub<Balance> for Balance[src]

type Output = Balance

The resulting type after applying the - operator.

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

type Output = Balance

The resulting type after applying the * operator.

impl SubAssign<Balance> for Balance[src]

impl PartialOrd<Balance> for Balance[src]

impl AddAssign<Balance> for Balance[src]

impl FromStr for Balance[src]

type Err = <u128 as FromStr>::Err

The associated error which can be returned from parsing.

impl<'de> Deserialize<'de> for Balance[src]

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

impl Ord for Balance[src]

impl Eq for Balance[src]

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

impl UpperHex for Balance[src]

impl Serialize for Balance[src]

impl Clone for Balance[src]

impl Display for Balance[src]

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

type Output = Balance

The resulting type after applying the % operator.

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

type Output = Balance

The resulting type after applying the / operator.

impl Debug for Balance[src]

impl Default for Balance[src]

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

impl Add<Balance> for Balance[src]

type Output = Balance

The resulting type after applying the + operator.

impl Hash for Balance[src]

impl From<u128> for Balance[src]

impl Copy for Balance[src]

impl PartialEq<Balance> for Balance[src]

Auto Trait Implementations

impl Send for Balance

impl Unpin for Balance

impl Sync for Balance

impl UnwindSafe for Balance

impl RefUnwindSafe for Balance

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]