pub struct ExaStatement { /* private fields */ }Expand description
Implementor of Statement.
Trait Implementations§
Source§impl Clone for ExaStatement
impl Clone for ExaStatement
Source§fn clone(&self) -> ExaStatement
fn clone(&self) -> ExaStatement
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 ColumnIndex<ExaStatement> for &str
impl ColumnIndex<ExaStatement> for &str
Source§fn index(&self, statement: &ExaStatement) -> Result<usize, Error>
fn index(&self, statement: &ExaStatement) -> Result<usize, Error>
Returns a valid positional index into the row or statement,
ColumnIndexOutOfBounds, or,
ColumnNotFound.Source§impl ColumnIndex<ExaStatement> for usize
impl ColumnIndex<ExaStatement> for usize
Source§fn index(&self, statement: &ExaStatement) -> Result<usize, Error>
fn index(&self, statement: &ExaStatement) -> Result<usize, Error>
Returns a valid positional index into the row or statement,
ColumnIndexOutOfBounds, or,
ColumnNotFound.Source§impl Debug for ExaStatement
impl Debug for ExaStatement
Source§impl Statement for ExaStatement
impl Statement for ExaStatement
type Database = Exasol
Source§fn parameters(
&self,
) -> Option<Either<&[<<ExaStatement as Statement>::Database as Database>::TypeInfo], usize>>
fn parameters( &self, ) -> Option<Either<&[<<ExaStatement as Statement>::Database as Database>::TypeInfo], usize>>
Get the expected parameters for this statement. Read more
Source§fn columns(
&self,
) -> &[<<ExaStatement as Statement>::Database as Database>::Column]
fn columns( &self, ) -> &[<<ExaStatement as Statement>::Database as Database>::Column]
Get the columns expected to be returned by executing this statement.
fn query( &self, ) -> Query<'_, <ExaStatement as Statement>::Database, ExaArguments>
fn query_with<A>( &self, arguments: A, ) -> Query<'_, <ExaStatement as Statement>::Database, A>
fn query_as<O>( &self, ) -> QueryAs<'_, <ExaStatement as Statement>::Database, O, <<ExaStatement as Statement>::Database as Database>::Arguments>
fn query_as_with<'s, O, A>(
&'s self,
arguments: A,
) -> QueryAs<'s, <ExaStatement as Statement>::Database, O, A>where
O: for<'r> FromRow<'r, <<ExaStatement as Statement>::Database as Database>::Row>,
A: IntoArguments<<ExaStatement as Statement>::Database>,
fn query_scalar<O>( &self, ) -> QueryScalar<'_, <ExaStatement as Statement>::Database, O, <<ExaStatement as Statement>::Database as Database>::Arguments>
fn query_scalar_with<'s, O, A>(
&'s self,
arguments: A,
) -> QueryScalar<'s, <ExaStatement as Statement>::Database, O, A>where
(O,): for<'r> FromRow<'r, <<ExaStatement as Statement>::Database as Database>::Row>,
A: IntoArguments<<ExaStatement 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 Freeze for ExaStatement
impl RefUnwindSafe for ExaStatement
impl Send for ExaStatement
impl Sync for ExaStatement
impl Unpin for ExaStatement
impl UnwindSafe for ExaStatement
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<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 more