pub struct InsertStatement {
pub table: KeyspaceQualifiedName,
pub kind: InsertKind,
pub if_not_exists: bool,
pub using: Option<Vec<UpdateParameter>>,
}
Fields§
§table: KeyspaceQualifiedName
§kind: InsertKind
§if_not_exists: bool
§using: Option<Vec<UpdateParameter>>
Trait Implementations§
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§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 InsertStatement
impl<'a> CustomToTokens<'a> for InsertStatement
Source§impl Debug for InsertStatement
impl Debug for InsertStatement
Source§impl Display for InsertStatement
impl Display for InsertStatement
Source§impl From<InsertStatement> for DataManipulationStatement
impl From<InsertStatement> for DataManipulationStatement
Source§fn from(original: InsertStatement) -> DataManipulationStatement
fn from(original: InsertStatement) -> DataManipulationStatement
Converts to this type from the input type.
Source§impl From<InsertStatement> for ModificationStatement
impl From<InsertStatement> for ModificationStatement
Source§fn from(original: InsertStatement) -> ModificationStatement
fn from(original: InsertStatement) -> ModificationStatement
Converts to this type from the input type.
Source§impl From<InsertStatement> for Statement
impl From<InsertStatement> for Statement
Source§fn from(v: InsertStatement) -> Self
fn from(v: InsertStatement) -> Self
Converts to this type from the input type.
Source§impl FromStr for InsertStatement
impl FromStr for InsertStatement
Source§impl KeyspaceExt for InsertStatement
impl KeyspaceExt for InsertStatement
Source§impl Parse for InsertStatement
impl Parse for InsertStatement
type Output = InsertStatement
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
Source§impl PartialEq for InsertStatement
impl PartialEq for InsertStatement
Source§impl ToTokens for InsertStatement
impl ToTokens for InsertStatement
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,
Source§impl TryInto<InsertStatement> for Statement
impl TryInto<InsertStatement> for Statement
impl Eq for InsertStatement
impl StructuralPartialEq for InsertStatement
Auto Trait Implementations§
impl Freeze for InsertStatement
impl RefUnwindSafe for InsertStatement
impl Send for InsertStatement
impl Sync for InsertStatement
impl Unpin 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