Enum sqlite_requests::request::SqliteExecute [−][src]
pub enum SqliteExecute { Single(Execute), Bulk(BulkExecute), }
A single SQLite statement or a series of them.
A statement is a SQL-Request which can modify the DB and requires ReadWrite
access to be run, e.g. everything but a query.
Variants
Single(Execute)
Bulk(BulkExecute)
Trait Implementations
impl From<SqliteExecute> for ProtoSqliteExecute
[src]
impl From<SqliteExecute> for ProtoSqliteExecute
fn from(sqlite_execute: SqliteExecute) -> Self
[src]
fn from(sqlite_execute: SqliteExecute) -> Self
Performs the conversion.
impl From<ProtoSqliteExecute> for SqliteExecute
[src]
impl From<ProtoSqliteExecute> for SqliteExecute
fn from(proto_sqlite_execute: ProtoSqliteExecute) -> Self
[src]
fn from(proto_sqlite_execute: ProtoSqliteExecute) -> Self
Performs the conversion.
impl Debug for SqliteExecute
[src]
impl Debug for SqliteExecute
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for SqliteExecute
[src]
impl Clone for SqliteExecute
fn clone(&self) -> SqliteExecute
[src]
fn clone(&self) -> SqliteExecute
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for SqliteExecute
[src]
impl PartialEq for SqliteExecute
fn eq(&self, other: &SqliteExecute) -> bool
[src]
fn eq(&self, other: &SqliteExecute) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SqliteExecute) -> bool
[src]
fn ne(&self, other: &SqliteExecute) -> bool
This method tests for !=
.
impl Request for SqliteExecute
[src]
impl Request for SqliteExecute
type Access = ReadWrite
type Response = SqliteExecuteResponse
fn apply_to_tx(
&self,
tx: &mut AccessTransaction<Self::Access>
) -> Result<Self::Response>
[src]
fn apply_to_tx(
&self,
tx: &mut AccessTransaction<Self::Access>
) -> Result<Self::Response>
Auto Trait Implementations
impl Send for SqliteExecute
impl Send for SqliteExecute
impl Sync for SqliteExecute
impl Sync for SqliteExecute