pub struct InsertStatement {
pub table_name: TableName,
pub columns: Vec<Identifier>,
pub values: Vec<Expression>,
pub span: Range<usize>,
}Expand description
Represents an INSERT statement.
Fields§
§table_name: TableNameThe table to insert into.
columns: Vec<Identifier>The columns to insert into.
values: Vec<Expression>The values to insert.
span: Range<usize>The span of the INSERT statement.
Trait Implementations§
Source§impl AsDocument for InsertStatement
Available on crate feature oak-pretty-print only.
impl AsDocument for InsertStatement
Available on crate feature
oak-pretty-print only.Source§fn as_document(&self) -> Document<'_>
fn as_document(&self) -> Document<'_>
Converts this type to a document for pretty printing.
Source§impl Clone for InsertStatement
impl Clone for InsertStatement
Source§fn clone(&self) -> InsertStatement
fn clone(&self) -> InsertStatement
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 InsertStatement
impl Debug for InsertStatement
Source§impl<'de> Deserialize<'de> for InsertStatement
impl<'de> Deserialize<'de> for InsertStatement
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 Serialize for InsertStatement
impl Serialize for InsertStatement
Source§impl ToSource for InsertStatement
impl ToSource for InsertStatement
Source§fn to_source(&self, buffer: &mut SourceBuffer)
fn to_source(&self, buffer: &mut SourceBuffer)
Writes the source code representation of this type to the provided buffer.
Source§fn to_source_string(&self) -> String
fn to_source_string(&self) -> String
Converts this type to a source code string.
Auto Trait Implementations§
impl Freeze for InsertStatement
impl RefUnwindSafe for InsertStatement
impl Send for InsertStatement
impl Sync for InsertStatement
impl Unpin for InsertStatement
impl UnsafeUnpin for InsertStatement
impl UnwindSafe for InsertStatement
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