pub struct SqlAddColumnMetadata {
pub table_name: String,
pub unqualified_table_name: String,
pub column_name: String,
pub data_type: String,
pub nullable: bool,
pub default: Option<String>,
pub is_generated: bool,
pub line: usize,
}Expand description
One ALTER TABLE … ADD COLUMN.
Fields§
§table_name: String§unqualified_table_name: StringDecoded last identifier component, preserving dots inside quoted names.
column_name: String§data_type: String§nullable: bool§default: Option<String>§is_generated: boolWhether the column is computed by a GENERATED expression.
line: usizeTrait Implementations§
Source§impl Clone for SqlAddColumnMetadata
impl Clone for SqlAddColumnMetadata
Source§impl Debug for SqlAddColumnMetadata
impl Debug for SqlAddColumnMetadata
impl Eq for SqlAddColumnMetadata
Source§impl PartialEq for SqlAddColumnMetadata
impl PartialEq for SqlAddColumnMetadata
impl StructuralPartialEq for SqlAddColumnMetadata
Auto Trait Implementations§
impl Forget for SqlAddColumnMetadata
impl Freeze for SqlAddColumnMetadata
impl Move for SqlAddColumnMetadata
impl RefUnwindSafe for SqlAddColumnMetadata
impl Send for SqlAddColumnMetadata
impl Sync for SqlAddColumnMetadata
impl Unpin for SqlAddColumnMetadata
impl UnsafeUnpin for SqlAddColumnMetadata
impl UnwindSafe for SqlAddColumnMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more