Struct cassandra_protocol::types::decimal::Decimal [−][src]
Expand description
Cassandra Decimal type
Fields
unscaled: BigInt
scale: i32
Implementations
Trait Implementations
fn from_cdrs<T>(cdrs_type: T) -> CdrsResult<Option<Self>> where
Self: Sized,
T: AsRustType<Self>,
fn from_cdrs_by_name<T>(cdrs_type: &T, name: &str) -> CdrsResult<Option<Self>> where
Self: Sized,
T: ByName + IntoRustByName<Self>,
fn from_cdrs_r<T>(cdrs_type: &T, name: &str) -> CdrsResult<Self> where
Self: Sized,
T: ByName + IntoRustByName<Self> + Debug,
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Decimal
impl UnwindSafe for Decimal
Blanket Implementations
Mutably borrows from an owned value. Read more