pub struct AlterTableStatement {
pub table: Table,
pub alter_options: Option<Vec<AlterTableOption>>,
pub partition_options: Option<Vec<AlterPartitionOption>>,
}
Expand description
parse ALTER TABLE tbl_name [alter_option [, alter_option] ...] [partition_options]
Fields§
§table: Table
§alter_options: Option<Vec<AlterTableOption>>
§partition_options: Option<Vec<AlterPartitionOption>>
Implementations§
Source§impl AlterTableStatement
impl AlterTableStatement
pub fn parse(i: &str) -> IResult<&str, AlterTableStatement, ParseSQLError<&str>>
Trait Implementations§
Source§impl Clone for AlterTableStatement
impl Clone for AlterTableStatement
Source§fn clone(&self) -> AlterTableStatement
fn clone(&self) -> AlterTableStatement
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 AlterTableStatement
impl Debug for AlterTableStatement
Source§impl Default for AlterTableStatement
impl Default for AlterTableStatement
Source§fn default() -> AlterTableStatement
fn default() -> AlterTableStatement
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AlterTableStatement
impl<'de> Deserialize<'de> for AlterTableStatement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for AlterTableStatement
impl Display for AlterTableStatement
Source§impl Hash for AlterTableStatement
impl Hash for AlterTableStatement
Source§impl PartialEq for AlterTableStatement
impl PartialEq for AlterTableStatement
Source§impl Serialize for AlterTableStatement
impl Serialize for AlterTableStatement
impl Eq for AlterTableStatement
impl StructuralPartialEq for AlterTableStatement
Auto Trait Implementations§
impl Freeze for AlterTableStatement
impl RefUnwindSafe for AlterTableStatement
impl Send for AlterTableStatement
impl Sync for AlterTableStatement
impl Unpin for AlterTableStatement
impl UnwindSafe for AlterTableStatement
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