Enum tiberius::ColumnFlag
source · #[repr(u16)]pub enum ColumnFlag {
Nullable = 1,
CaseSensitive = 2,
Updateable = 8,
UpdateableUnknown = 16,
Identity = 32,
Computed = 128,
FixedLenClrType = 1_024,
SparseColumnSet = 2_048,
Encrypted = 4_096,
Hidden = 8_192,
Key = 16_384,
NullableUnknown = 32_768,
}
Expand description
A setting a column can hold.
Variants§
Nullable = 1
The column can be null.
CaseSensitive = 2
Set for string columns with binary collation and always for the XML data type.
Updateable = 8
If column is writeable.
UpdateableUnknown = 16
Column modification status unknown.
Identity = 32
Column is an identity.
Computed = 128
Coulumn is computed.
FixedLenClrType = 1_024
Column is a fixed-length common language runtime user-defined type (CLR UDT).
SparseColumnSet = 2_048
Column is the special XML column for the sparse column set.
Encrypted = 4_096
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 = 8_192
Column is part of a hidden primary key created to support a T-SQL SELECT statement containing FOR BROWSE.
Key = 16_384
Column is part of a primary key for the row and the T-SQL SELECT statement contains FOR BROWSE.
NullableUnknown = 32_768
It is unknown whether the column might be nullable.
Trait Implementations§
source§impl BitAnd for ColumnFlag
impl BitAnd for ColumnFlag
source§impl BitFlag for ColumnFlag
impl BitFlag for ColumnFlag
source§impl BitOr for ColumnFlag
impl BitOr for ColumnFlag
source§impl BitXor for ColumnFlag
impl BitXor for ColumnFlag
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
source§impl PartialEq for ColumnFlag
impl PartialEq for ColumnFlag
source§impl RawBitFlags for ColumnFlag
impl RawBitFlags for ColumnFlag
source§const EMPTY: Self::Numeric = {transmute(0x0000): <tds::codec::token::token_col_metadata::ColumnFlag as enumflags2::_internal::RawBitFlags>::Numeric}
const EMPTY: Self::Numeric = {transmute(0x0000): <tds::codec::token::token_col_metadata::ColumnFlag as enumflags2::_internal::RawBitFlags>::Numeric}
source§const DEFAULT: Self::Numeric = {transmute(0x0000): <tds::codec::token::token_col_metadata::ColumnFlag as enumflags2::_internal::RawBitFlags>::Numeric}
const DEFAULT: Self::Numeric = {transmute(0x0000): <tds::codec::token::token_col_metadata::ColumnFlag as enumflags2::_internal::RawBitFlags>::Numeric}
source§const ALL_BITS: Self::Numeric = {transmute(0xfcbb): <tds::codec::token::token_col_metadata::ColumnFlag as enumflags2::_internal::RawBitFlags>::Numeric}
const ALL_BITS: Self::Numeric = {transmute(0xfcbb): <tds::codec::token::token_col_metadata::ColumnFlag as enumflags2::_internal::RawBitFlags>::Numeric}
source§const BITFLAGS_TYPE_NAME: &'static str = "BitFlags<ColumnFlag>"
const BITFLAGS_TYPE_NAME: &'static str = "BitFlags<ColumnFlag>"
impl Copy for ColumnFlag
impl Eq for ColumnFlag
impl StructuralPartialEq for ColumnFlag
Auto Trait Implementations§
impl Freeze for ColumnFlag
impl RefUnwindSafe for ColumnFlag
impl Send for ColumnFlag
impl Sync for ColumnFlag
impl Unpin for ColumnFlag
impl UnwindSafe for ColumnFlag
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)