pub enum TypeInfo {
FixedLen(FixedLenType),
VarLenSized(VarLenContext),
VarLenSizedPrecision {
ty: VarLenType,
size: usize,
precision: u8,
scale: u8,
},
Xml {
schema: Option<Arc<XmlSchema>>,
size: usize,
},
}Expand description
Describes a type of a column.
Variants§
FixedLen(FixedLenType)
A fixed-length TDS type.
VarLenSized(VarLenContext)
A variable-length TDS type with optional collation metadata.
VarLenSizedPrecision
A variable-length TDS type that also carries precision and scale.
Fields
§
ty: VarLenTypeThe variable-length TDS type tag.
Xml
XML metadata.
Trait Implementations§
Source§impl From<&TypeInfo> for ColumnType
impl From<&TypeInfo> for ColumnType
impl Eq for TypeInfo
impl StructuralPartialEq for TypeInfo
Auto Trait Implementations§
impl Freeze for TypeInfo
impl RefUnwindSafe for TypeInfo
impl Send for TypeInfo
impl Sync for TypeInfo
impl Unpin for TypeInfo
impl UnsafeUnpin for TypeInfo
impl UnwindSafe for TypeInfo
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