pub enum DecimalType {
Decimal32,
Decimal64,
Decimal128,
Decimal256,
}
Expand description
Represents the underlying integer type for a Decimal. See also: https://clickhouse.com/docs/sql-reference/data-types/decimal
Variants§
Decimal32
Stored as an Int32
Decimal64
Stored as an Int64
Decimal128
Stored as an Int128
Decimal256
Stored as an Int256
Trait Implementations§
Source§impl Clone for DecimalType
impl Clone for DecimalType
Source§fn clone(&self) -> DecimalType
fn clone(&self) -> DecimalType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DecimalType
impl Debug for DecimalType
Source§impl Display for DecimalType
impl Display for DecimalType
Source§impl PartialEq for DecimalType
impl PartialEq for DecimalType
impl StructuralPartialEq for DecimalType
Auto Trait Implementations§
impl Freeze for DecimalType
impl RefUnwindSafe for DecimalType
impl Send for DecimalType
impl Sync for DecimalType
impl Unpin for DecimalType
impl UnwindSafe for DecimalType
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