Enum sqlparser::ast::ExactNumberInfo
source · [−]Expand description
Additional information for NUMERIC
, DECIMAL
, and DEC
data types
following the 2016 standard.
Variants
None
No additional information e.g. DECIMAL
Precision(u64)
Only precision information e.g. DECIMAL(10)
PrecisionAndScale(u64, u64)
Precision and scale information e.g. DECIMAL(10,2)
Trait Implementations
sourceimpl Clone for ExactNumberInfo
impl Clone for ExactNumberInfo
sourcefn clone(&self) -> ExactNumberInfo
fn clone(&self) -> ExactNumberInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ExactNumberInfo
impl Debug for ExactNumberInfo
sourceimpl Display for ExactNumberInfo
impl Display for ExactNumberInfo
sourceimpl Hash for ExactNumberInfo
impl Hash for ExactNumberInfo
sourceimpl PartialEq<ExactNumberInfo> for ExactNumberInfo
impl PartialEq<ExactNumberInfo> for ExactNumberInfo
sourcefn eq(&self, other: &ExactNumberInfo) -> bool
fn eq(&self, other: &ExactNumberInfo) -> bool
impl Eq for ExactNumberInfo
impl StructuralEq for ExactNumberInfo
impl StructuralPartialEq for ExactNumberInfo
Auto Trait Implementations
impl RefUnwindSafe for ExactNumberInfo
impl Send for ExactNumberInfo
impl Sync for ExactNumberInfo
impl Unpin for ExactNumberInfo
impl UnwindSafe for ExactNumberInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more