pub enum AuthAction<'a> {
Show 34 variants
Unknown {
code: i32,
arg1: Option<&'a str>,
arg2: Option<&'a str>,
},
CreateIndex {
index_name: &'a str,
table_name: &'a str,
},
CreateTable {
table_name: &'a str,
},
CreateTempIndex {
index_name: &'a str,
table_name: &'a str,
},
CreateTempTable {
table_name: &'a str,
},
CreateTempTrigger {
trigger_name: &'a str,
table_name: &'a str,
},
CreateTempView {
view_name: &'a str,
},
CreateTrigger {
trigger_name: &'a str,
table_name: &'a str,
},
CreateView {
view_name: &'a str,
},
Delete {
table_name: &'a str,
},
DropIndex {
index_name: &'a str,
table_name: &'a str,
},
DropTable {
table_name: &'a str,
},
DropTempIndex {
index_name: &'a str,
table_name: &'a str,
},
DropTempTable {
table_name: &'a str,
},
DropTempTrigger {
trigger_name: &'a str,
table_name: &'a str,
},
DropTempView {
view_name: &'a str,
},
DropTrigger {
trigger_name: &'a str,
table_name: &'a str,
},
DropView {
view_name: &'a str,
},
Insert {
table_name: &'a str,
},
Pragma {
pragma_name: &'a str,
pragma_value: Option<&'a str>,
},
Read {
table_name: &'a str,
column_name: &'a str,
},
Select,
Transaction {
operation: TransactionOperation,
},
Update {
table_name: &'a str,
column_name: &'a str,
},
Attach {
filename: &'a str,
},
Detach {
database_name: &'a str,
},
AlterTable {
database_name: &'a str,
table_name: &'a str,
},
Reindex {
index_name: &'a str,
},
Analyze {
table_name: &'a str,
},
CreateVtable {
table_name: &'a str,
module_name: &'a str,
},
DropVtable {
table_name: &'a str,
module_name: &'a str,
},
Function {
function_name: &'a str,
},
Savepoint {
operation: TransactionOperation,
savepoint_name: &'a str,
},
Recursive,
}
Variants§
Unknown
CreateIndex
CreateTable
CreateTempIndex
CreateTempTable
CreateTempTrigger
CreateTempView
CreateTrigger
CreateView
Delete
DropIndex
DropTable
DropTempIndex
DropTempTable
DropTempTrigger
DropTempView
DropTrigger
DropView
Insert
Pragma
Read
Select
Transaction
Fields
§
operation: TransactionOperation
Update
Attach
Detach
AlterTable
Reindex
Analyze
CreateVtable
DropVtable
Function
Savepoint
Recursive
Trait Implementations§
Source§impl<'a> Clone for AuthAction<'a>
impl<'a> Clone for AuthAction<'a>
Source§fn clone(&self) -> AuthAction<'a>
fn clone(&self) -> AuthAction<'a>
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<'a> Debug for AuthAction<'a>
impl<'a> Debug for AuthAction<'a>
Source§impl<'a> PartialEq for AuthAction<'a>
impl<'a> PartialEq for AuthAction<'a>
impl<'a> Copy for AuthAction<'a>
impl<'a> Eq for AuthAction<'a>
impl<'a> StructuralPartialEq for AuthAction<'a>
Auto Trait Implementations§
impl<'a> Freeze for AuthAction<'a>
impl<'a> RefUnwindSafe for AuthAction<'a>
impl<'a> Send for AuthAction<'a>
impl<'a> Sync for AuthAction<'a>
impl<'a> Unpin for AuthAction<'a>
impl<'a> UnwindSafe for AuthAction<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request