pub enum StatementType {
Show 15 variants
Select,
Insert,
Update,
Delete,
Merge,
Create,
Alter,
Drop,
Begin,
Declare,
Commit,
Rollback,
ExplainPlan,
Call,
Unknown,
}
Expand description
Statement type returned by Statement::statement_type
.
Variants§
Select
SELECT statement
Insert
INSERT statement
Update
UPDATE statement
Delete
DELETE statement
Merge
MERGE statement
Create
CREATE statement
Alter
ALTER statement
Drop
DROP statement
Begin
PL/SQL statement without declare clause
Declare
PL/SQL statement with declare clause
Commit
COMMIT statement
Rollback
ROLLBACK statement
ExplainPlan
EXPLAIN PLAN statement
Call
CALL statement
Unknown
Unknown statement
Trait Implementations§
Source§impl Clone for StatementType
impl Clone for StatementType
Source§fn clone(&self) -> StatementType
fn clone(&self) -> StatementType
Returns a copy 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 StatementType
impl Debug for StatementType
Source§impl Display for StatementType
impl Display for StatementType
Source§impl PartialEq for StatementType
impl PartialEq for StatementType
impl Copy for StatementType
impl Eq for StatementType
impl StructuralPartialEq for StatementType
Auto Trait Implementations§
impl Freeze for StatementType
impl RefUnwindSafe for StatementType
impl Send for StatementType
impl Sync for StatementType
impl Unpin for StatementType
impl UnwindSafe for StatementType
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