Struct AnyStatement
pub struct AnyStatement<'q> { /* private fields */ }Trait Implementations§
§impl<'i> ColumnIndex<AnyStatement<'_>> for &'i str
 
impl<'i> ColumnIndex<AnyStatement<'_>> for &'i str
§fn index(&self, statement: &AnyStatement<'_>) -> Result<usize, Error>
 
fn index(&self, statement: &AnyStatement<'_>) -> Result<usize, Error>
Returns a valid positional index into the row or statement, 
ColumnIndexOutOfBounds, or,
ColumnNotFound.§impl ColumnIndex<AnyStatement<'_>> for usize
 
impl ColumnIndex<AnyStatement<'_>> for usize
§fn index(&self, statement: &AnyStatement<'_>) -> Result<usize, Error>
 
fn index(&self, statement: &AnyStatement<'_>) -> Result<usize, Error>
Returns a valid positional index into the row or statement, 
ColumnIndexOutOfBounds, or,
ColumnNotFound.§impl<'q> Statement<'q> for AnyStatement<'q>
 
impl<'q> Statement<'q> for AnyStatement<'q>
type Database = Any
§fn to_owned(&self) -> AnyStatement<'static>
 
fn to_owned(&self) -> AnyStatement<'static>
Creates an owned statement from this statement reference. This copies
the original SQL text.
§fn parameters(&self) -> Option<Either<&[AnyTypeInfo], usize>>
 
fn parameters(&self) -> Option<Either<&[AnyTypeInfo], usize>>
Get the expected parameters for this statement. Read more
§fn columns(&self) -> &[AnyColumn]
 
fn columns(&self) -> &[AnyColumn]
Get the columns expected to be returned by executing this statement.
fn query( &self, ) -> Query<'_, <AnyStatement<'q> as Statement<'q>>::Database, AnyArguments<'_>>
fn query_with<'s, A>( &'s self, arguments: A, ) -> Query<'s, <AnyStatement<'q> as Statement<'q>>::Database, A>
fn query_as<O>( &self, ) -> QueryAs<'_, <AnyStatement<'q> as Statement<'q>>::Database, O, <<AnyStatement<'q> as Statement<'q>>::Database as Database>::Arguments<'_>>
fn query_as_with<'s, O, A>(
    &'s self,
    arguments: A,
) -> QueryAs<'s, <AnyStatement<'q> as Statement<'q>>::Database, O, A>where
    O: for<'r> FromRow<'r, <<AnyStatement<'q> as Statement<'q>>::Database as Database>::Row>,
    A: IntoArguments<'s, <AnyStatement<'q> as Statement<'q>>::Database>,
fn query_scalar<O>( &self, ) -> QueryScalar<'_, <AnyStatement<'q> as Statement<'q>>::Database, O, <<AnyStatement<'q> as Statement<'q>>::Database as Database>::Arguments<'_>>
fn query_scalar_with<'s, O, A>(
    &'s self,
    arguments: A,
) -> QueryScalar<'s, <AnyStatement<'q> as Statement<'q>>::Database, O, A>where
    (O,): for<'r> FromRow<'r, <<AnyStatement<'q> as Statement<'q>>::Database as Database>::Row>,
    A: IntoArguments<'s, <AnyStatement<'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 AnyStatement<'q>
impl<'q> RefUnwindSafe for AnyStatement<'q>
impl<'q> Send for AnyStatement<'q>
impl<'q> Sync for AnyStatement<'q>
impl<'q> Unpin for AnyStatement<'q>
impl<'q> UnwindSafe for AnyStatement<'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
§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