pub struct InsertStmt {
pub ignore: bool,
pub relation: bool,
pub target: Option<Spanned<Expr>>,
pub data: InsertData,
pub ret: Option<Spanned<ReturnMode>>,
}Expand description
INSERT — bulk row insertion with its own payload forms.
Fields§
§ignore: boolINSERT IGNORE.
relation: boolINSERT RELATION (row payloads describe edges).
target: Option<Spanned<Expr>>INTO <target>.
data: InsertDataThe rows/values to insert.
ret: Option<Spanned<ReturnMode>>RETURN mode, if specified.
Trait Implementations§
Source§impl Clone for InsertStmt
impl Clone for InsertStmt
Source§fn clone(&self) -> InsertStmt
fn clone(&self) -> InsertStmt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InsertStmt
impl Debug for InsertStmt
Source§impl PartialEq for InsertStmt
impl PartialEq for InsertStmt
impl StructuralPartialEq for InsertStmt
Auto Trait Implementations§
impl Freeze for InsertStmt
impl RefUnwindSafe for InsertStmt
impl Send for InsertStmt
impl Sync for InsertStmt
impl Unpin for InsertStmt
impl UnsafeUnpin for InsertStmt
impl UnwindSafe for InsertStmt
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