pub enum InsertKind {
NameValue {
names: Vec<Name>,
values: TupleLiteral,
},
Json {
json: LitStr,
default: Option<ColumnDefault>,
},
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for InsertKind
impl Clone for InsertKind
Source§fn clone(&self) -> InsertKind
fn clone(&self) -> InsertKind
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> CustomToTokens<'a> for InsertKind
impl<'a> CustomToTokens<'a> for InsertKind
Source§impl Debug for InsertKind
impl Debug for InsertKind
Source§impl Display for InsertKind
impl Display for InsertKind
Source§impl FromStr for InsertKind
impl FromStr for InsertKind
Source§impl Parse for InsertKind
impl Parse for InsertKind
type Output = InsertKind
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
Source§impl PartialEq for InsertKind
impl PartialEq for InsertKind
Source§impl ToTokens for InsertKind
impl ToTokens for InsertKind
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
impl Eq for InsertKind
impl StructuralPartialEq for InsertKind
Auto Trait Implementations§
impl Freeze for InsertKind
impl RefUnwindSafe for InsertKind
impl Send for InsertKind
impl Sync for InsertKind
impl Unpin for InsertKind
impl UnwindSafe for InsertKind
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