[−][src]Struct oasis_std::Balance
Methods
impl Balance[src]
Trait Implementations
impl FromStr for Balance[src]
type Err = <u128 as FromStr>::Err
The associated error which can be returned from parsing.
fn from_str(src: &str) -> Result<Balance, <Balance as FromStr>::Err>[src]
impl Clone for Balance[src]
impl<__RhsT> Mul<__RhsT> for Balance where
u128: Mul<__RhsT>,
<u128 as Mul<__RhsT>>::Output == u128, [src]
u128: Mul<__RhsT>,
<u128 as Mul<__RhsT>>::Output == u128,
type Output = Balance
The resulting type after applying the * operator.
fn mul(self, rhs: __RhsT) -> Balance[src]
impl Sub<Balance> for Balance[src]
type Output = Balance
The resulting type after applying the - operator.
fn sub(self, rhs: Balance) -> Balance[src]
impl SubAssign<Balance> for Balance[src]
fn sub_assign(&mut self, rhs: Balance)[src]
impl Default for Balance[src]
impl AddAssign<Balance> for Balance[src]
fn add_assign(&mut self, rhs: Balance)[src]
impl Ord for Balance[src]
fn cmp(&self, other: &Balance) -> Ordering[src]
fn max(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> Self1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self[src]
impl<'de> Deserialize<'de> for Balance[src]
fn deserialize<D>(
deserializer: D
) -> Result<Balance, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>, [src]
deserializer: D
) -> Result<Balance, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
impl Serialize for Balance[src]
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer, [src]
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
impl From<u128> for Balance[src]
impl Eq for Balance[src]
impl Debug for Balance[src]
impl<__RhsT> MulAssign<__RhsT> for Balance where
u128: MulAssign<__RhsT>, [src]
u128: MulAssign<__RhsT>,
fn mul_assign(&mut self, rhs: __RhsT)[src]
impl Hash for Balance[src]
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher, [src]
__H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl<__RhsT> Rem<__RhsT> for Balance where
u128: Rem<__RhsT>,
<u128 as Rem<__RhsT>>::Output == u128, [src]
u128: Rem<__RhsT>,
<u128 as Rem<__RhsT>>::Output == u128,
type Output = Balance
The resulting type after applying the % operator.
fn rem(self, rhs: __RhsT) -> Balance[src]
impl<__RhsT> DivAssign<__RhsT> for Balance where
u128: DivAssign<__RhsT>, [src]
u128: DivAssign<__RhsT>,
fn div_assign(&mut self, rhs: __RhsT)[src]
impl<__RhsT> Div<__RhsT> for Balance where
u128: Div<__RhsT>,
<u128 as Div<__RhsT>>::Output == u128, [src]
u128: Div<__RhsT>,
<u128 as Div<__RhsT>>::Output == u128,
type Output = Balance
The resulting type after applying the / operator.
fn div(self, rhs: __RhsT) -> Balance[src]
impl LowerHex for Balance[src]
impl<__RhsT> RemAssign<__RhsT> for Balance where
u128: RemAssign<__RhsT>, [src]
u128: RemAssign<__RhsT>,
fn rem_assign(&mut self, rhs: __RhsT)[src]
impl PartialOrd<i16> for Balance[src]
fn partial_cmp(&self, prim: &i16) -> Option<Ordering>[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialOrd<u16> for Balance[src]
fn partial_cmp(&self, prim: &u16) -> Option<Ordering>[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialOrd<u64> for Balance[src]
fn partial_cmp(&self, prim: &u64) -> Option<Ordering>[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialOrd<i64> for Balance[src]
fn partial_cmp(&self, prim: &i64) -> Option<Ordering>[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialOrd<u32> for Balance[src]
fn partial_cmp(&self, prim: &u32) -> Option<Ordering>[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialOrd<u128> for Balance[src]
fn partial_cmp(&self, prim: &u128) -> Option<Ordering>[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialOrd<i128> for Balance[src]
fn partial_cmp(&self, prim: &i128) -> Option<Ordering>[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialOrd<i8> for Balance[src]
fn partial_cmp(&self, prim: &i8) -> Option<Ordering>[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialOrd<Balance> for Balance[src]
fn partial_cmp(&self, other: &Balance) -> Option<Ordering>[src]
fn lt(&self, other: &Balance) -> bool[src]
fn le(&self, other: &Balance) -> bool[src]
fn gt(&self, other: &Balance) -> bool[src]
fn ge(&self, other: &Balance) -> bool[src]
impl PartialOrd<u8> for Balance[src]
fn partial_cmp(&self, prim: &u8) -> Option<Ordering>[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialOrd<i32> for Balance[src]
fn partial_cmp(&self, prim: &i32) -> Option<Ordering>[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
impl Copy for Balance[src]
impl UpperHex for Balance[src]
impl Add<Balance> for Balance[src]
type Output = Balance
The resulting type after applying the + operator.
fn add(self, rhs: Balance) -> Balance[src]
impl Display for Balance[src]
impl PartialEq<u8> for Balance[src]
impl PartialEq<i64> for Balance[src]
impl PartialEq<u16> for Balance[src]
impl PartialEq<i8> for Balance[src]
impl PartialEq<u128> for Balance[src]
impl PartialEq<i16> for Balance[src]
impl PartialEq<i32> for Balance[src]
impl PartialEq<i128> for Balance[src]
impl PartialEq<Balance> for Balance[src]
impl PartialEq<u32> for Balance[src]
impl PartialEq<u64> for Balance[src]
Auto Trait Implementations
impl Send for Balance
impl Sync for Balance
impl Unpin for Balance
impl UnwindSafe for Balance
impl RefUnwindSafe for Balance
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
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>,
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> 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> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,