pub struct SqliteStatement { /* private fields */ }Trait Implementations§
Source§impl Clone for SqliteStatement
impl Clone for SqliteStatement
Source§fn clone(&self) -> SqliteStatement
fn clone(&self) -> SqliteStatement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ColumnIndex<SqliteStatement> for &str
impl ColumnIndex<SqliteStatement> for &str
Source§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.Source§impl ColumnIndex<SqliteStatement> for usize
impl ColumnIndex<SqliteStatement> for usize
Source§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.Source§impl Debug for SqliteStatement
impl Debug for SqliteStatement
Source§impl Statement for SqliteStatement
impl Statement for SqliteStatement
type Database = Sqlite
Source§fn parameters(&self) -> Option<Either<&[SqliteTypeInfo], usize>>
fn parameters(&self) -> Option<Either<&[SqliteTypeInfo], usize>>
Get the expected parameters for this statement. Read more
Source§fn columns(&self) -> &[SqliteColumn]
fn columns(&self) -> &[SqliteColumn]
Get the columns expected to be returned by executing this statement.
fn query( &self, ) -> Query<'_, <SqliteStatement as Statement>::Database, SqliteArguments>
fn query_with<A>( &self, arguments: A, ) -> Query<'_, <SqliteStatement as Statement>::Database, A>
fn query_as<O>( &self, ) -> QueryAs<'_, <SqliteStatement as Statement>::Database, O, <<SqliteStatement as Statement>::Database as Database>::Arguments>
fn query_as_with<'s, O, A>(
&'s self,
arguments: A,
) -> QueryAs<'s, <SqliteStatement as Statement>::Database, O, A>where
O: for<'r> FromRow<'r, <<SqliteStatement as Statement>::Database as Database>::Row>,
A: IntoArguments<<SqliteStatement as Statement>::Database>,
fn query_scalar<O>( &self, ) -> QueryScalar<'_, <SqliteStatement as Statement>::Database, O, <<SqliteStatement as Statement>::Database as Database>::Arguments>
fn query_scalar_with<'s, O, A>(
&'s self,
arguments: A,
) -> QueryScalar<'s, <SqliteStatement as Statement>::Database, O, A>where
(O,): for<'r> FromRow<'r, <<SqliteStatement as Statement>::Database as Database>::Row>,
A: IntoArguments<<SqliteStatement as Statement>::Database>,
Source§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 moreSource§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 Forget for SqliteStatement
impl Freeze for SqliteStatementwhere
&'static str: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const str is !null: Freeze,
PhantomData<str>: Freeze,
*const ArcInner<str> is !null: Freeze,
PhantomData<ArcInner<str>>: Freeze,
*const ArcInner<String> is !null: Freeze,
PhantomData<ArcInner<String>>: Freeze,
*const ArcInner<Vec<SqliteColumn>> is !null: Freeze,
PhantomData<ArcInner<Vec<SqliteColumn>>>: Freeze,
*const ArcInner<HashMap<UStr, usize>> is !null: Freeze,
PhantomData<ArcInner<HashMap<UStr, usize>>>: Freeze,
impl Move for SqliteStatement
impl RefUnwindSafe for SqliteStatement
impl Send for SqliteStatement
impl Sync for SqliteStatement
impl Unpin for SqliteStatement
impl UnsafeUnpin for SqliteStatementwhere
&'static str: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const str is !null: UnsafeUnpin,
PhantomData<str>: UnsafeUnpin,
*const ArcInner<str> is !null: UnsafeUnpin,
PhantomData<ArcInner<str>>: UnsafeUnpin,
*const ArcInner<String> is !null: UnsafeUnpin,
PhantomData<ArcInner<String>>: UnsafeUnpin,
*const ArcInner<Vec<SqliteColumn>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Vec<SqliteColumn>>>: UnsafeUnpin,
*const ArcInner<HashMap<UStr, usize>> is !null: UnsafeUnpin,
PhantomData<ArcInner<HashMap<UStr, usize>>>: UnsafeUnpin,
impl UnwindSafe for SqliteStatementwhere
&'static str: UnwindSafe,
RawVecInner: UnwindSafe,
BoxRaw<str>: UnwindSafe,
Arc<str>: UnwindSafe,
Arc<String>: UnwindSafe,
Arc<Vec<SqliteColumn>>: UnwindSafe,
Arc<HashMap<UStr, usize>>: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<K> ForeignKey<K> for K
impl<K> ForeignKey<K> for K
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
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> 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 moreCreates a shared type from an unshared type.