pub(crate) enum InsertValueSource {
Values(Vec<Vec<Expr>>),
Select(Box<SelectStatement>),
}
Expand description
Represents a value source that can be used in an insert query.
InsertValueSource
is a node in the expression tree and can represent a raw value set
(‘VALUES’) or a select query.
Variants§
Trait Implementations§
Source§impl Clone for InsertValueSource
impl Clone for InsertValueSource
Source§fn clone(&self) -> InsertValueSource
fn clone(&self) -> InsertValueSource
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 InsertValueSource
impl Debug for InsertValueSource
Source§impl PartialEq for InsertValueSource
impl PartialEq for InsertValueSource
impl StructuralPartialEq for InsertValueSource
Auto Trait Implementations§
impl Freeze for InsertValueSource
impl RefUnwindSafe for InsertValueSource
impl Send for InsertValueSource
impl Sync for InsertValueSource
impl Unpin for InsertValueSource
impl UnwindSafe for InsertValueSource
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