Struct ydb_unofficial::sqlx::entities::YdbRow
source · pub struct YdbRow { /* private fields */ }Available on crate feature
sqlx only.Trait Implementations§
source§impl ColumnIndex<YdbRow> for &str
impl ColumnIndex<YdbRow> for &str
source§fn index(&self, row: &YdbRow) -> Result<usize, Error>
fn index(&self, row: &YdbRow) -> Result<usize, Error>
Returns a valid positional index into the row or statement,
ColumnIndexOutOfBounds, or,
ColumnNotFound.source§impl ColumnIndex<YdbRow> for usize
impl ColumnIndex<YdbRow> for usize
source§fn index(&self, row: &YdbRow) -> Result<usize, Error>
fn index(&self, row: &YdbRow) -> Result<usize, Error>
Returns a valid positional index into the row or statement,
ColumnIndexOutOfBounds, or,
ColumnNotFound.source§impl Row for YdbRow
impl Row for YdbRow
type Database = Ydb
source§fn try_get_raw<I: ColumnIndex<Self>>(
&self,
index: I
) -> Result<YdbValueRef<'_>, Error>
fn try_get_raw<I: ColumnIndex<Self>>( &self, index: I ) -> Result<YdbValueRef<'_>, Error>
Index into the database row and decode a single value. Read more
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 None if out of bounds.source§fn get<'r, T, I>(&'r self, index: I) -> Twhere
I: ColumnIndex<Self>,
T: Decode<'r, Self::Database> + Type<Self::Database>,
fn get<'r, T, I>(&'r self, index: I) -> Twhere I: ColumnIndex<Self>, T: Decode<'r, Self::Database> + Type<Self::Database>,
Index into the database row and decode a single value. Read more
source§fn get_unchecked<'r, T, I>(&'r self, index: I) -> Twhere
I: ColumnIndex<Self>,
T: Decode<'r, Self::Database>,
fn get_unchecked<'r, T, I>(&'r self, index: I) -> Twhere I: ColumnIndex<Self>, T: Decode<'r, Self::Database>,
Index into the database row and decode a single value. Read more
source§fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>where
I: ColumnIndex<Self>,
T: Decode<'r, Self::Database> + Type<Self::Database>,
fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>where I: ColumnIndex<Self>, T: Decode<'r, Self::Database> + Type<Self::Database>,
Index into the database row and decode a single value. Read more
source§fn try_get_unchecked<'r, T, I>(&'r self, index: I) -> Result<T, Error>where
I: ColumnIndex<Self>,
T: Decode<'r, Self::Database>,
fn try_get_unchecked<'r, T, I>(&'r self, index: I) -> Result<T, Error>where I: ColumnIndex<Self>, T: Decode<'r, Self::Database>,
Index into the database row and decode a single value. Read more
Auto Trait Implementations§
impl RefUnwindSafe for YdbRow
impl Send for YdbRow
impl Sync for YdbRow
impl Unpin for YdbRow
impl UnwindSafe for YdbRow
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> 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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request