Expand description
Cassandra Decimal type
Fields§
§unscaled: i64
§scale: u32
Implementations§
Trait Implementations§
source§impl FromCDRS for Decimal
impl FromCDRS for Decimal
fn from_cdrs<T>(cdrs_type: T) -> CDRSResult<Option<Self>>where
Self: Sized,
T: AsRustType<Self> + Sized,
fn from_cdrs_r<T>(cdrs_type: T) -> CDRSResult<Self>where
Self: Sized,
T: AsRustType<Self> + Sized,
source§impl FromCDRSByName for Decimal
impl FromCDRSByName for Decimal
fn from_cdrs_by_name<T>(cdrs_type: &T, name: &str) -> CDRSResult<Option<Self>>where
Self: Sized,
T: ByName + IntoRustByName<Self> + Sized,
fn from_cdrs_r<T>(cdrs_type: &T, name: &str) -> CDRSResult<Self>where
Self: Sized,
T: ByName + IntoRustByName<Self> + Sized + Debug,
source§impl IntoBytes for Decimal
impl IntoBytes for Decimal
source§fn into_cbytes(&self) -> Vec<u8>
fn into_cbytes(&self) -> Vec<u8>
It should convert a struct into an array of bytes.