#[repr(transparent)]pub struct E18s(pub Decimal);Tuple Fields§
§0: DecimalTrait Implementations§
Source§impl AddAssign for E18s
impl AddAssign for E18s
Source§fn add_assign(&mut self, other: E18s)
fn add_assign(&mut self, other: E18s)
Performs the
+= operation. Read moreSource§impl AddAssign<Decimal> for E18s
impl AddAssign<Decimal> for E18s
Source§fn add_assign(&mut self, other: Decimal)
fn add_assign(&mut self, other: Decimal)
Performs the
+= operation. Read moreSource§impl CandidType for E18s
impl CandidType for E18s
impl Copy for E18s
Source§impl<'de> Deserialize<'de> for E18s
impl<'de> Deserialize<'de> for E18s
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl DivAssign for E18s
impl DivAssign for E18s
Source§fn div_assign(&mut self, other: E18s)
fn div_assign(&mut self, other: E18s)
Performs the
/= operation. Read moreSource§impl DivAssign<Decimal> for E18s
impl DivAssign<Decimal> for E18s
Source§fn div_assign(&mut self, other: Decimal)
fn div_assign(&mut self, other: Decimal)
Performs the
/= operation. Read moreimpl Eq for E18s
Source§impl MulAssign for E18s
impl MulAssign for E18s
Source§fn mul_assign(&mut self, other: E18s)
fn mul_assign(&mut self, other: E18s)
Performs the
*= operation. Read moreSource§impl MulAssign<Decimal> for E18s
impl MulAssign<Decimal> for E18s
Source§fn mul_assign(&mut self, other: Decimal)
fn mul_assign(&mut self, other: Decimal)
Performs the
*= operation. Read moreSource§impl NormalizeAuto for E18s
impl NormalizeAuto for E18s
fn normalize_self(&mut self, _ctx: &mut dyn VisitorContext)
Source§impl NormalizeCustom for E18s
impl NormalizeCustom for E18s
fn normalize_custom(&mut self, _ctx: &mut dyn VisitorContext)
Source§impl NumericValue for E18s
impl NumericValue for E18s
Source§fn try_to_decimal(&self) -> Option<Decimal>
fn try_to_decimal(&self) -> Option<Decimal>
Convert this value into
Decimal for generic numeric handling.Source§fn try_from_decimal(value: Decimal) -> Option<Self>
fn try_from_decimal(value: Decimal) -> Option<Self>
Rebuild the value from
Decimal after generic numeric handling.Source§impl Ord for E18s
impl Ord for E18s
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for E18s
impl PartialOrd for E18s
Source§impl PartialOrd<Decimal> for E18s
impl PartialOrd<Decimal> for E18s
Source§impl PartialOrd<E18s> for Decimal
impl PartialOrd<E18s> for Decimal
Source§impl RemAssign for E18s
impl RemAssign for E18s
Source§fn rem_assign(&mut self, other: E18s)
fn rem_assign(&mut self, other: E18s)
Performs the
%= operation. Read moreSource§impl RemAssign<Decimal> for E18s
impl RemAssign<Decimal> for E18s
Source§fn rem_assign(&mut self, other: Decimal)
fn rem_assign(&mut self, other: Decimal)
Performs the
%= operation. Read moreimpl StructuralPartialEq for E18s
Source§impl SubAssign for E18s
impl SubAssign for E18s
Source§fn sub_assign(&mut self, other: E18s)
fn sub_assign(&mut self, other: E18s)
Performs the
-= operation. Read moreSource§impl SubAssign<Decimal> for E18s
impl SubAssign<Decimal> for E18s
Source§fn sub_assign(&mut self, other: Decimal)
fn sub_assign(&mut self, other: Decimal)
Performs the
-= operation. Read moreSource§impl ValidateAuto for E18s
impl ValidateAuto for E18s
fn validate_self(&self, _ctx: &mut dyn VisitorContext)
Source§impl ValidateCustom for E18s
impl ValidateCustom for E18s
fn validate_custom(&self, _ctx: &mut dyn VisitorContext)
Auto Trait Implementations§
impl Freeze for E18s
impl RefUnwindSafe for E18s
impl Send for E18s
impl Sync for E18s
impl Unpin for E18s
impl UnsafeUnpin for E18s
impl UnwindSafe for E18s
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> Normalize for Twhere
T: NormalizeAuto + NormalizeCustom,
Source§impl<T> NormalizeAndValidate for Twhere
T: Visitable,
impl<T> NormalizeAndValidate for Twhere
T: Visitable,
Source§fn normalize_and_validate(self) -> Result<Self, VisitorError>
fn normalize_and_validate(self) -> Result<Self, VisitorError>
Normalize and then validate this application-owned value. Read more