Enum Nullability
pub enum Nullability {
Nullable,
NotNull,
Unknown,
}Expand description
Column nullability metadata.
Variants§
Nullable
Null values are allowed.
NotNull
Null values are rejected.
Unknown
Nullability is unknown or unspecified.
Trait Implementations§
§impl Clone for Nullability
impl Clone for Nullability
§fn clone(&self) -> Nullability
fn clone(&self) -> Nullability
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 more§impl Debug for Nullability
impl Debug for Nullability
§impl Default for Nullability
impl Default for Nullability
§fn default() -> Nullability
fn default() -> Nullability
Returns the “default value” for a type. Read more
§impl Hash for Nullability
impl Hash for Nullability
§impl Ord for Nullability
impl Ord for Nullability
§impl PartialEq for Nullability
impl PartialEq for Nullability
§impl PartialOrd for Nullability
impl PartialOrd for Nullability
impl Copy for Nullability
impl Eq for Nullability
impl StructuralPartialEq for Nullability
Auto Trait Implementations§
impl Freeze for Nullability
impl RefUnwindSafe for Nullability
impl Send for Nullability
impl Sync for Nullability
impl Unpin for Nullability
impl UnsafeUnpin for Nullability
impl UnwindSafe for Nullability
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