pub struct TypeInfo {
pub type_id: u8,
pub length: Option<u32>,
pub scale: Option<u8>,
pub precision: Option<u8>,
pub collation: Option<Collation>,
}Expand description
TDS type information for decoding.
Fields§
§type_id: u8The TDS type ID.
length: Option<u32>Length/precision for variable-length types.
scale: Option<u8>Scale for decimal/time types.
precision: Option<u8>Precision for decimal types.
collation: Option<Collation>Collation for string types.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TypeInfo
impl RefUnwindSafe for TypeInfo
impl Send for TypeInfo
impl Sync for TypeInfo
impl Unpin 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