pub enum SqlTypeModifier {
Array,
Nullable,
NotNull,
Precision {
precision: u16,
scale: Option<u16>,
},
}Expand description
Lightweight SQL type modifier labels.
Variants§
Trait Implementations§
Source§impl Clone for SqlTypeModifier
impl Clone for SqlTypeModifier
Source§fn clone(&self) -> SqlTypeModifier
fn clone(&self) -> SqlTypeModifier
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SqlTypeModifier
impl Debug for SqlTypeModifier
Source§impl Display for SqlTypeModifier
impl Display for SqlTypeModifier
Source§impl Hash for SqlTypeModifier
impl Hash for SqlTypeModifier
Source§impl Ord for SqlTypeModifier
impl Ord for SqlTypeModifier
Source§fn cmp(&self, other: &SqlTypeModifier) -> Ordering
fn cmp(&self, other: &SqlTypeModifier) -> Ordering
1.21.0 (const: unstable) · 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 SqlTypeModifier
impl PartialEq for SqlTypeModifier
Source§fn eq(&self, other: &SqlTypeModifier) -> bool
fn eq(&self, other: &SqlTypeModifier) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SqlTypeModifier
impl PartialOrd for SqlTypeModifier
impl Copy for SqlTypeModifier
impl Eq for SqlTypeModifier
impl StructuralPartialEq for SqlTypeModifier
Auto Trait Implementations§
impl Freeze for SqlTypeModifier
impl RefUnwindSafe for SqlTypeModifier
impl Send for SqlTypeModifier
impl Sync for SqlTypeModifier
impl Unpin for SqlTypeModifier
impl UnsafeUnpin for SqlTypeModifier
impl UnwindSafe for SqlTypeModifier
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