pub struct Decimal {
pub unscaled: i64,
pub scale: u32,
}Expand description
Cassandra Decimal type
Fields§
§unscaled: i64§scale: u32Implementations§
Trait Implementations§
Source§impl FromCDRS for Decimal
impl FromCDRS for Decimal
fn from_cdrs<T>(cdrs_type: T) -> CDRSResult<Option<Self>>
fn from_cdrs_r<T>(cdrs_type: T) -> CDRSResult<Self>
Source§impl FromCDRSByName for Decimal
impl FromCDRSByName for Decimal
fn from_cdrs_by_name<T>(cdrs_type: &T, name: &str) -> CDRSResult<Option<Self>>
fn from_cdrs_r<T>(cdrs_type: &T, name: &str) -> CDRSResult<Self>
Source§impl IntoRustByIndex<Decimal> for Row
impl IntoRustByIndex<Decimal> for Row
fn get_by_index(&self, index: usize) -> Result<Option<Decimal>>
fn get_r_by_index(&self, index: usize) -> CDRSResult<R>
Source§impl IntoRustByIndex<Decimal> for Tuple
impl IntoRustByIndex<Decimal> for Tuple
fn get_by_index(&self, index: usize) -> Result<Option<Decimal>>
fn get_r_by_index(&self, index: usize) -> CDRSResult<R>
Source§impl IntoRustByName<Decimal> for Row
impl IntoRustByName<Decimal> for Row
fn get_by_name(&self, name: &str) -> Result<Option<Decimal>>
fn get_r_by_name(&self, name: &str) -> CDRSResult<R>
Source§impl IntoRustByName<Decimal> for UDT
impl IntoRustByName<Decimal> for UDT
fn get_by_name(&self, name: &str) -> Result<Option<Decimal>>
fn get_r_by_name(&self, name: &str) -> CDRSResult<R>
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 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