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
sourceimpl 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>
The resulting type after applying the &
operator.
sourceimpl BitFlag for ColumnFlag
impl BitFlag for ColumnFlag
sourceimpl 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>
The resulting type after applying the |
operator.
sourceimpl 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>
The resulting type after applying the ^
operator.
sourceimpl Clone for ColumnFlag
impl Clone for ColumnFlag
sourcefn clone(&self) -> ColumnFlag
fn clone(&self) -> ColumnFlag
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ColumnFlag
impl Debug for ColumnFlag
sourceimpl Not for ColumnFlag
impl Not for ColumnFlag
type Output = BitFlags<ColumnFlag, <ColumnFlag as RawBitFlags>::Numeric>
type Output = BitFlags<ColumnFlag, <ColumnFlag as RawBitFlags>::Numeric>
The resulting type after applying the !
operator.
sourceimpl PartialEq<ColumnFlag> for ColumnFlag
impl PartialEq<ColumnFlag> for ColumnFlag
sourceimpl RawBitFlags for ColumnFlag
impl RawBitFlags for ColumnFlag
sourceconst 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}
A value with no bits set.
sourceconst 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}
The value used by the Default implementation. Equivalent to EMPTY, unless customized. Read more
sourceconst 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}
A value with all flag bits set.
sourceconst BITFLAGS_TYPE_NAME: &'static str = _
const BITFLAGS_TYPE_NAME: &'static str = _
The name of the type for debug formatting purposes. Read more
impl Copy for ColumnFlag
impl StructuralPartialEq for ColumnFlag
Auto Trait Implementations
impl RefUnwindSafe for ColumnFlag
impl Send for ColumnFlag
impl Sync for ColumnFlag
impl Unpin for ColumnFlag
impl UnwindSafe for ColumnFlag
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more