Enum tiberius::ColumnFlag
source · #[repr(u16)]
pub enum ColumnFlag {
Nullable,
CaseSensitive,
Updateable,
UpdateableUnknown,
Identity,
Computed,
FixedLenClrType,
SparseColumnSet,
Encrypted,
Hidden,
Key,
NullableUnknown,
}
Expand description
A setting a column can hold.
Variants§
Nullable
The column can be null.
CaseSensitive
Set for string columns with binary collation and always for the XML data type.
Updateable
If column is writeable.
UpdateableUnknown
Column modification status unknown.
Identity
Column is an identity.
Computed
Coulumn is computed.
FixedLenClrType
Column is a fixed-length common language runtime user-defined type (CLR UDT).
SparseColumnSet
Column is the special XML column for the sparse column set.
Encrypted
Column is encrypted transparently and has to be decrypted to view the plaintext value. This flag is valid when the column encryption feature is negotiated between client and server and is turned on.
Hidden
Column is part of a hidden primary key created to support a T-SQL SELECT statement containing FOR BROWSE.
Key
Column is part of a primary key for the row and the T-SQL SELECT statement contains FOR BROWSE.
NullableUnknown
It is unknown whether the column might be nullable.
Trait Implementations§
source§impl BitAnd<ColumnFlag> for ColumnFlag
impl BitAnd<ColumnFlag> for ColumnFlag
§type Output = BitFlags<ColumnFlag, <ColumnFlag as RawBitFlags>::Numeric>
type Output = BitFlags<ColumnFlag, <ColumnFlag as RawBitFlags>::Numeric>
&
operator.source§impl BitFlag for ColumnFlag
impl BitFlag for ColumnFlag
source§impl BitOr<ColumnFlag> for ColumnFlag
impl BitOr<ColumnFlag> for ColumnFlag
§type Output = BitFlags<ColumnFlag, <ColumnFlag as RawBitFlags>::Numeric>
type Output = BitFlags<ColumnFlag, <ColumnFlag as RawBitFlags>::Numeric>
|
operator.source§impl BitXor<ColumnFlag> for ColumnFlag
impl BitXor<ColumnFlag> for ColumnFlag
§type Output = BitFlags<ColumnFlag, <ColumnFlag as RawBitFlags>::Numeric>
type Output = BitFlags<ColumnFlag, <ColumnFlag as RawBitFlags>::Numeric>
^
operator.source§impl Clone for ColumnFlag
impl Clone for ColumnFlag
source§fn clone(&self) -> ColumnFlag
fn clone(&self) -> ColumnFlag
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ColumnFlag
impl Debug for ColumnFlag
source§impl Not for ColumnFlag
impl Not for ColumnFlag
§type Output = BitFlags<ColumnFlag, <ColumnFlag as RawBitFlags>::Numeric>
type Output = BitFlags<ColumnFlag, <ColumnFlag as RawBitFlags>::Numeric>
!
operator.source§impl PartialEq<ColumnFlag> for ColumnFlag
impl PartialEq<ColumnFlag> for ColumnFlag
source§fn eq(&self, other: &ColumnFlag) -> bool
fn eq(&self, other: &ColumnFlag) -> bool
self
and other
values to be equal, and is used
by ==
.