Enum odbc_api::Nullability
source · pub enum Nullability {
Unknown,
Nullable,
NoNulls,
}
Expand description
Indication of whether a column is nullable or not.
Variants§
Unknown
Indicates that we do not know whether the column is Nullable or not.
Nullable
The column may hold NULL values.
NoNulls
The column can not hold NULL values.
Implementations§
source§impl Nullability
impl Nullability
sourcepub fn new(nullability: Nullability) -> Self
pub fn new(nullability: Nullability) -> Self
Construct a new instance from a Nullability
new type constant.
Trait Implementations§
source§impl Clone for Nullability
impl Clone for Nullability
source§fn clone(&self) -> Nullability
fn clone(&self) -> Nullability
Returns a copy 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