pub enum PgNullability {
Nullable,
NotNull,
}Expand description
PostgreSQL column nullability labels.
Variants§
Implementations§
Source§impl PgNullability
impl PgNullability
Trait Implementations§
Source§impl Clone for PgNullability
impl Clone for PgNullability
Source§fn clone(&self) -> PgNullability
fn clone(&self) -> PgNullability
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 PgNullability
impl Debug for PgNullability
Source§impl Default for PgNullability
impl Default for PgNullability
Source§fn default() -> PgNullability
fn default() -> PgNullability
Returns the “default value” for a type. Read more
Source§impl Display for PgNullability
impl Display for PgNullability
Source§impl FromStr for PgNullability
impl FromStr for PgNullability
Source§impl Hash for PgNullability
impl Hash for PgNullability
Source§impl Ord for PgNullability
impl Ord for PgNullability
Source§fn cmp(&self, other: &PgNullability) -> Ordering
fn cmp(&self, other: &PgNullability) -> 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 PgNullability
impl PartialEq for PgNullability
Source§fn eq(&self, other: &PgNullability) -> bool
fn eq(&self, other: &PgNullability) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PgNullability
impl PartialOrd for PgNullability
impl Copy for PgNullability
impl Eq for PgNullability
impl StructuralPartialEq for PgNullability
Auto Trait Implementations§
impl Freeze for PgNullability
impl RefUnwindSafe for PgNullability
impl Send for PgNullability
impl Sync for PgNullability
impl Unpin for PgNullability
impl UnsafeUnpin for PgNullability
impl UnwindSafe for PgNullability
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