pub struct CreateQuery {
pub table_name: String,
pub columns: Vec<ParsedColumn>,
}Expand description
The following structure represents a CREATE TABLE query already parsed
and broken down into name and a Vector of ParsedColumn metadata
Fields§
§table_name: Stringname of table after parking and tokenizing of query
columns: Vec<ParsedColumn>Vector of ParsedColumn type with column metadata information
Implementations§
Source§impl CreateQuery
impl CreateQuery
pub fn new(statement: &Statement) -> Result<CreateQuery>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CreateQuery
impl RefUnwindSafe for CreateQuery
impl Send for CreateQuery
impl Sync for CreateQuery
impl Unpin for CreateQuery
impl UnsafeUnpin for CreateQuery
impl UnwindSafe for CreateQuery
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