pub struct TypeInfo {
pub max_length: Option<u32>,
pub precision: Option<u8>,
pub scale: Option<u8>,
pub collation: Option<Collation>,
}Expand description
Type-specific metadata.
Fields§
§max_length: Option<u32>Maximum length for variable-length types.
precision: Option<u8>Precision for numeric types.
scale: Option<u8>Scale for numeric types.
collation: Option<Collation>Collation for string types.
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