#[repr(transparent)]pub struct E8s(pub Decimal);Tuple Fields§
§0: DecimalTrait Implementations§
Source§impl AddAssign for E8s
impl AddAssign for E8s
Source§fn add_assign(&mut self, other: E8s)
fn add_assign(&mut self, other: E8s)
Performs the
+= operation. Read moreSource§impl AddAssign<Decimal> for E8s
impl AddAssign<Decimal> for E8s
Source§fn add_assign(&mut self, other: Decimal)
fn add_assign(&mut self, other: Decimal)
Performs the
+= operation. Read moreSource§impl CandidType for E8s
impl CandidType for E8s
impl Copy for E8s
Source§impl<'de> Deserialize<'de> for E8s
impl<'de> Deserialize<'de> for E8s
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 E8s
impl DivAssign for E8s
Source§fn div_assign(&mut self, other: E8s)
fn div_assign(&mut self, other: E8s)
Performs the
/= operation. Read moreSource§impl DivAssign<Decimal> for E8s
impl DivAssign<Decimal> for E8s
Source§fn div_assign(&mut self, other: Decimal)
fn div_assign(&mut self, other: Decimal)
Performs the
/= operation. Read moreimpl Eq for E8s
Source§impl MulAssign for E8s
impl MulAssign for E8s
Source§fn mul_assign(&mut self, other: E8s)
fn mul_assign(&mut self, other: E8s)
Performs the
*= operation. Read moreSource§impl MulAssign<Decimal> for E8s
impl MulAssign<Decimal> for E8s
Source§fn mul_assign(&mut self, other: Decimal)
fn mul_assign(&mut self, other: Decimal)
Performs the
*= operation. Read moreSource§impl NormalizeAuto for E8s
impl NormalizeAuto for E8s
fn normalize_self(&mut self, _ctx: &mut dyn VisitorContext)
Source§impl NormalizeCustom for E8s
impl NormalizeCustom for E8s
fn normalize_custom(&mut self, _ctx: &mut dyn VisitorContext)
Source§impl NumericValue for E8s
impl NumericValue for E8s
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 E8s
impl Ord for E8s
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 E8s
impl PartialOrd for E8s
Source§impl PartialOrd<Decimal> for E8s
impl PartialOrd<Decimal> for E8s
Source§impl PartialOrd<E8s> for Decimal
impl PartialOrd<E8s> for Decimal
Source§impl RemAssign for E8s
impl RemAssign for E8s
Source§fn rem_assign(&mut self, other: E8s)
fn rem_assign(&mut self, other: E8s)
Performs the
%= operation. Read moreSource§impl RemAssign<Decimal> for E8s
impl RemAssign<Decimal> for E8s
Source§fn rem_assign(&mut self, other: Decimal)
fn rem_assign(&mut self, other: Decimal)
Performs the
%= operation. Read moreimpl StructuralPartialEq for E8s
Source§impl SubAssign for E8s
impl SubAssign for E8s
Source§fn sub_assign(&mut self, other: E8s)
fn sub_assign(&mut self, other: E8s)
Performs the
-= operation. Read moreSource§impl SubAssign<Decimal> for E8s
impl SubAssign<Decimal> for E8s
Source§fn sub_assign(&mut self, other: Decimal)
fn sub_assign(&mut self, other: Decimal)
Performs the
-= operation. Read moreSource§impl ValidateAuto for E8s
impl ValidateAuto for E8s
fn validate_self(&self, _ctx: &mut dyn VisitorContext)
Source§impl ValidateCustom for E8s
impl ValidateCustom for E8s
fn validate_custom(&self, _ctx: &mut dyn VisitorContext)
Auto Trait Implementations§
impl Freeze for E8s
impl RefUnwindSafe for E8s
impl Send for E8s
impl Sync for E8s
impl Unpin for E8s
impl UnsafeUnpin for E8s
impl UnwindSafe for E8s
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