pub struct DataTypeSpec {
pub kind: DataTypeKind,
pub span: Span,
}Expand description
Data type specification as it appears in SQL.
Fields§
§kind: DataTypeKind§span: SpanImplementations§
Source§impl DataTypeSpec
impl DataTypeSpec
pub fn new(kind: DataTypeKind, span: Span) -> Self
Trait Implementations§
Source§impl Clone for DataTypeSpec
impl Clone for DataTypeSpec
Source§fn clone(&self) -> DataTypeSpec
fn clone(&self) -> DataTypeSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DataTypeSpec
impl Debug for DataTypeSpec
Source§impl PartialEq for DataTypeSpec
impl PartialEq for DataTypeSpec
impl StructuralPartialEq for DataTypeSpec
Auto Trait Implementations§
impl Freeze for DataTypeSpec
impl RefUnwindSafe for DataTypeSpec
impl Send for DataTypeSpec
impl Sync for DataTypeSpec
impl Unpin for DataTypeSpec
impl UnwindSafe for DataTypeSpec
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