pub struct ColumnType {
pub span_range: Range<usize>,
pub raw: String,
pub type_name: ColumnTypeName,
pub args: Vec<Value>,
pub arrays: Vec<Option<u32>>,
}Expand description
Represents details of the table column.
Fields§
§span_range: Range<usize>The range of the span in the source text.
raw: StringThe raw type including type name, args, and arrays.
type_name: ColumnTypeNameThe parsed data type.
args: Vec<Value>Type arguments.
arrays: Vec<Option<u32>>Type arrays.
Trait Implementations§
Source§impl Clone for ColumnType
impl Clone for ColumnType
Source§impl Debug for ColumnType
impl Debug for ColumnType
Auto Trait Implementations§
impl Freeze for ColumnType
impl RefUnwindSafe for ColumnType
impl Send for ColumnType
impl Sync for ColumnType
impl Unpin for ColumnType
impl UnsafeUnpin for ColumnType
impl UnwindSafe for ColumnType
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