pub enum ExactNumberInfo {
None,
Precision(u64),
PrecisionAndScale(u64, i64),
}Expand description
Additional information for NUMERIC, DECIMAL, and DEC data types
following the 2016 SQL Standard.
Variants§
None
No additional information, e.g. DECIMAL.
Precision(u64)
Only precision information, e.g. DECIMAL(10).
PrecisionAndScale(u64, i64)
Precision and scale information, e.g. DECIMAL(10,2).
Trait Implementations§
Source§impl Clone for ExactNumberInfo
impl Clone for ExactNumberInfo
Source§fn clone(&self) -> ExactNumberInfo
fn clone(&self) -> ExactNumberInfo
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 ExactNumberInfo
impl Debug for ExactNumberInfo
Source§impl Display for ExactNumberInfo
impl Display for ExactNumberInfo
Source§impl Hash for ExactNumberInfo
impl Hash for ExactNumberInfo
Source§impl Ord for ExactNumberInfo
impl Ord for ExactNumberInfo
Source§fn cmp(&self, other: &ExactNumberInfo) -> Ordering
fn cmp(&self, other: &ExactNumberInfo) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ExactNumberInfo
impl PartialEq for ExactNumberInfo
Source§impl PartialOrd for ExactNumberInfo
impl PartialOrd for ExactNumberInfo
Source§impl Visit for ExactNumberInfo
impl Visit for ExactNumberInfo
Source§impl VisitMut for ExactNumberInfo
impl VisitMut for ExactNumberInfo
Source§fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
Mutably visit this node with the provided
VisitorMut. Read moreimpl Copy for ExactNumberInfo
impl Eq for ExactNumberInfo
impl StructuralPartialEq for ExactNumberInfo
Auto Trait Implementations§
impl Freeze for ExactNumberInfo
impl RefUnwindSafe for ExactNumberInfo
impl Send for ExactNumberInfo
impl Sync for ExactNumberInfo
impl Unpin for ExactNumberInfo
impl UnsafeUnpin for ExactNumberInfo
impl UnwindSafe for ExactNumberInfo
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