Struct SqliteStatement  
pub struct SqliteStatement<'q> {
    pub(crate) sql: Cow<'q, str>,
    pub(crate) parameters: usize,
    pub(crate) columns: Arc<Vec<SqliteColumn>>,
    pub(crate) column_names: Arc<HashMap<UStr, usize>>,
}Fields§
§sql: Cow<'q, str>§parameters: usize§columns: Arc<Vec<SqliteColumn>>§column_names: Arc<HashMap<UStr, usize>>Trait Implementations§
§impl<'q> Clone for SqliteStatement<'q>
 
impl<'q> Clone for SqliteStatement<'q>
§fn clone(&self) -> SqliteStatement<'q>
 
fn clone(&self) -> SqliteStatement<'q>
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 more§impl ColumnIndex<SqliteStatement<'_>> for &str
 
impl ColumnIndex<SqliteStatement<'_>> for &str
§fn index(&self, statement: &SqliteStatement<'_>) -> Result<usize, Error>
 
fn index(&self, statement: &SqliteStatement<'_>) -> Result<usize, Error>
Returns a valid positional index into the row or statement, 
ColumnIndexOutOfBounds, or,
ColumnNotFound.§impl ColumnIndex<SqliteStatement<'_>> for usize
 
impl ColumnIndex<SqliteStatement<'_>> for usize
§fn index(&self, statement: &SqliteStatement<'_>) -> Result<usize, Error>
 
fn index(&self, statement: &SqliteStatement<'_>) -> Result<usize, Error>
Returns a valid positional index into the row or statement, 
ColumnIndexOutOfBounds, or,
ColumnNotFound.§impl<'q> Debug for SqliteStatement<'q>
 
impl<'q> Debug for SqliteStatement<'q>
§impl<'q> Statement<'q> for SqliteStatement<'q>
 
impl<'q> Statement<'q> for SqliteStatement<'q>
type Database = Sqlite
§fn to_owned(&self) -> SqliteStatement<'static>
 
fn to_owned(&self) -> SqliteStatement<'static>
Creates an owned statement from this statement reference. This copies
the original SQL text.
§fn parameters(&self) -> Option<Either<&[SqliteTypeInfo], usize>>
 
fn parameters(&self) -> Option<Either<&[SqliteTypeInfo], usize>>
Get the expected parameters for this statement. Read more
§fn columns(&self) -> &[SqliteColumn]
 
fn columns(&self) -> &[SqliteColumn]
Get the columns expected to be returned by executing this statement.
fn query( &self, ) -> Query<'_, <SqliteStatement<'q> as Statement<'q>>::Database, SqliteArguments<'_>>
fn query_with<'s, A>( &'s self, arguments: A, ) -> Query<'s, <SqliteStatement<'q> as Statement<'q>>::Database, A>
fn query_as<O>( &self, ) -> QueryAs<'_, <SqliteStatement<'q> as Statement<'q>>::Database, O, <<SqliteStatement<'q> as Statement<'q>>::Database as Database>::Arguments<'_>>
fn query_as_with<'s, O, A>(
    &'s self,
    arguments: A,
) -> QueryAs<'s, <SqliteStatement<'q> as Statement<'q>>::Database, O, A>where
    O: for<'r> FromRow<'r, <<SqliteStatement<'q> as Statement<'q>>::Database as Database>::Row>,
    A: IntoArguments<'s, <SqliteStatement<'q> as Statement<'q>>::Database>,
fn query_scalar<O>( &self, ) -> QueryScalar<'_, <SqliteStatement<'q> as Statement<'q>>::Database, O, <<SqliteStatement<'q> as Statement<'q>>::Database as Database>::Arguments<'_>>
fn query_scalar_with<'s, O, A>(
    &'s self,
    arguments: A,
) -> QueryScalar<'s, <SqliteStatement<'q> as Statement<'q>>::Database, O, A>where
    (O,): for<'r> FromRow<'r, <<SqliteStatement<'q> as Statement<'q>>::Database as Database>::Row>,
    A: IntoArguments<'s, <SqliteStatement<'q> as Statement<'q>>::Database>,
§fn column<I>(&self, index: I) -> &<Self::Database as Database>::Columnwhere
    I: ColumnIndex<Self>,
 
fn column<I>(&self, index: I) -> &<Self::Database as Database>::Columnwhere
    I: ColumnIndex<Self>,
Gets the column information at 
index. Read more§fn try_column<I>(
    &self,
    index: I,
) -> Result<&<Self::Database as Database>::Column, Error>where
    I: ColumnIndex<Self>,
 
fn try_column<I>(
    &self,
    index: I,
) -> Result<&<Self::Database as Database>::Column, Error>where
    I: ColumnIndex<Self>,
Gets the column information at 
index or a ColumnIndexOutOfBounds error if out of bounds.Auto Trait Implementations§
impl<'q> Freeze for SqliteStatement<'q>
impl<'q> RefUnwindSafe for SqliteStatement<'q>
impl<'q> Send for SqliteStatement<'q>
impl<'q> Sync for SqliteStatement<'q>
impl<'q> Unpin for SqliteStatement<'q>
impl<'q> UnwindSafe for SqliteStatement<'q>
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,
§impl<T> Instrument for T
 
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
 
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more