pub struct TypeName {
pub name: String,
pub arg1: Option<String>,
pub arg2: Option<String>,
}Expand description
A column type name as written in DDL (e.g. VARCHAR(255), INTEGER).
SQLite does not enforce column types strictly; they only determine affinity.
Fields§
§name: StringThe type name tokens joined (e.g. "VARCHAR").
arg1: Option<String>Optional first size parameter (e.g. 255 in VARCHAR(255)).
arg2: Option<String>Optional second size parameter (e.g. 10 in DECIMAL(10,2)).
Trait Implementations§
impl Eq for TypeName
impl StructuralPartialEq for TypeName
Auto Trait Implementations§
impl Freeze for TypeName
impl RefUnwindSafe for TypeName
impl Send for TypeName
impl Sync for TypeName
impl Unpin for TypeName
impl UnsafeUnpin for TypeName
impl UnwindSafe for TypeName
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