[−][src]Struct oasis_types::Balance
Methods
impl Balance
[src]
Trait Implementations
impl Eq for Balance
[src]
impl Default for Balance
[src]
impl Clone for Balance
[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 Ord for Balance
[src]
fn cmp(&self, other: &Balance) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<Balance> for Balance
[src]
impl From<u128> for Balance
[src]
impl From<Balance> for u128
[src]
impl Copy for Balance
[src]
impl Hash for Balance
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Add<Balance> for Balance
[src]
type Output = Balance
The resulting type after applying the +
operator.
fn add(self, rhs: Balance) -> 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<__RhsT> Mul<__RhsT> for Balance where
u128: Mul<__RhsT, Output = u128>,
[src]
u128: Mul<__RhsT, Output = u128>,
type Output = Balance
The resulting type after applying the *
operator.
fn mul(self, rhs: __RhsT) -> Balance
[src]
impl<__RhsT> Div<__RhsT> for Balance where
u128: Div<__RhsT, Output = u128>,
[src]
u128: Div<__RhsT, Output = u128>,
type Output = Balance
The resulting type after applying the /
operator.
fn div(self, rhs: __RhsT) -> Balance
[src]
impl<__RhsT> Rem<__RhsT> for Balance where
u128: Rem<__RhsT, Output = u128>,
[src]
u128: Rem<__RhsT, Output = u128>,
type Output = Balance
The resulting type after applying the %
operator.
fn rem(self, rhs: __RhsT) -> Balance
[src]
impl AddAssign<Balance> for Balance
[src]
fn add_assign(&mut self, rhs: Balance)
[src]
impl SubAssign<Balance> for Balance
[src]
fn sub_assign(&mut self, rhs: 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<__RhsT> DivAssign<__RhsT> for Balance where
u128: DivAssign<__RhsT>,
[src]
u128: DivAssign<__RhsT>,
fn div_assign(&mut self, rhs: __RhsT)
[src]
impl<__RhsT> RemAssign<__RhsT> for Balance where
u128: RemAssign<__RhsT>,
[src]
u128: RemAssign<__RhsT>,
fn rem_assign(&mut self, rhs: __RhsT)
[src]
impl Display for Balance
[src]
impl Debug for Balance
[src]
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<Self, Self::Err>
[src]
impl LowerHex for Balance
[src]
impl UpperHex for Balance
[src]
impl Serialize for Balance
[src]
impl<'de> Deserialize<'de> for Balance
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Auto Trait Implementations
impl Unpin for Balance
impl Sync for Balance
impl Send for Balance
impl UnwindSafe for Balance
impl RefUnwindSafe for Balance
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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> 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>,