pub struct Decimal {
pub scale: i64,
pub coefficient: i64,
}Fields§
§scale: i64§coefficient: i64Trait Implementations§
Source§impl<'de> FromTpackValue<'de> for Decimal
impl<'de> FromTpackValue<'de> for Decimal
fn from_value(value: TpackValue<'de>) -> Result<Self>
Source§impl<'de> TpackDeserialize<'de> for Decimal
impl<'de> TpackDeserialize<'de> for Decimal
fn schema() -> Schema
fn from_value(value: TpackValue<'de>) -> Result<Self>
Source§impl TpackSerialize for Decimal
impl TpackSerialize for Decimal
impl Copy for Decimal
impl Eq for Decimal
impl StructuralPartialEq for Decimal
Auto Trait Implementations§
impl Freeze for Decimal
impl RefUnwindSafe for Decimal
impl Send for Decimal
impl Sync for Decimal
impl Unpin for Decimal
impl UnsafeUnpin for Decimal
impl UnwindSafe for Decimal
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