pub struct Row { /* private fields */ }
Implementations
sourceimpl Row
impl Row
pub fn from_body(body: BodyResResultRows) -> Vec<Row>
sourcepub fn contains_column(&self, name: &str) -> bool
pub fn contains_column(&self, name: &str) -> bool
Checks if a column is present in the row.
sourcepub fn is_empty(&self, index: usize) -> bool
pub fn is_empty(&self, index: usize) -> bool
Checks for NULL for a given column. Returns false if given column does not exist.
sourcepub fn is_empty_by_name(&self, name: &str) -> bool
pub fn is_empty_by_name(&self, name: &str) -> bool
Checks for NULL for a given column. Returns false if given column does not exist.
Trait Implementations
sourceimpl ByIndex for Row
impl ByIndex for Row
fn by_index<R>(&self, index: usize) -> CDRSResult<Option<R>>where
Self: IntoRustByIndex<R>,
fn r_by_index<R>(&self, index: usize) -> CDRSResult<R>where
Self: IntoRustByIndex<R>,
sourceimpl ByName for Row
impl ByName for Row
fn by_name<R>(&self, name: &str) -> CDRSResult<Option<R>>where
Self: IntoRustByName<R>,
fn r_by_name<R>(&self, name: &str) -> CDRSResult<R>where
Self: IntoRustByName<R>,
sourceimpl IntoRustByIndex<BigInt> for Row
impl IntoRustByIndex<BigInt> for Row
fn get_by_index(&self, index: usize) -> Result<Option<BigInt>>
fn get_r_by_index(&self, index: usize) -> CDRSResult<R>
sourceimpl IntoRustByIndex<Blob> for Row
impl IntoRustByIndex<Blob> for Row
fn get_by_index(&self, index: usize) -> Result<Option<Blob>>
fn get_r_by_index(&self, index: usize) -> CDRSResult<R>
sourceimpl IntoRustByIndex<DateTime<Utc>> for Row
impl IntoRustByIndex<DateTime<Utc>> for Row
fn get_by_index(&self, index: usize) -> Result<Option<DateTime<Utc>>>
fn get_r_by_index(&self, index: usize) -> CDRSResult<R>
sourceimpl IntoRustByIndex<Decimal> for Row
impl IntoRustByIndex<Decimal> for Row
fn get_by_index(&self, index: usize) -> Result<Option<Decimal>>
fn get_r_by_index(&self, index: usize) -> CDRSResult<R>
sourceimpl IntoRustByIndex<IpAddr> for Row
impl IntoRustByIndex<IpAddr> for Row
fn get_by_index(&self, index: usize) -> Result<Option<IpAddr>>
fn get_r_by_index(&self, index: usize) -> CDRSResult<R>
sourceimpl IntoRustByIndex<List> for Row
impl IntoRustByIndex<List> for Row
fn get_by_index(&self, index: usize) -> Result<Option<List>>
fn get_r_by_index(&self, index: usize) -> CDRSResult<R>
sourceimpl IntoRustByIndex<Map> for Row
impl IntoRustByIndex<Map> for Row
fn get_by_index(&self, index: usize) -> Result<Option<Map>>
fn get_r_by_index(&self, index: usize) -> CDRSResult<R>
sourceimpl IntoRustByIndex<NaiveDateTime> for Row
impl IntoRustByIndex<NaiveDateTime> for Row
fn get_by_index(&self, index: usize) -> Result<Option<NaiveDateTime>>
fn get_r_by_index(&self, index: usize) -> CDRSResult<R>
sourceimpl IntoRustByIndex<NonZeroI16> for Row
impl IntoRustByIndex<NonZeroI16> for Row
fn get_by_index(&self, index: usize) -> Result<Option<NonZeroI16>>
fn get_r_by_index(&self, index: usize) -> CDRSResult<R>
sourceimpl IntoRustByIndex<NonZeroI32> for Row
impl IntoRustByIndex<NonZeroI32> for Row
fn get_by_index(&self, index: usize) -> Result<Option<NonZeroI32>>
fn get_r_by_index(&self, index: usize) -> CDRSResult<R>
sourceimpl IntoRustByIndex<NonZeroI64> for Row
impl IntoRustByIndex<NonZeroI64> for Row
fn get_by_index(&self, index: usize) -> Result<Option<NonZeroI64>>
fn get_r_by_index(&self, index: usize) -> CDRSResult<R>
sourceimpl IntoRustByIndex<NonZeroI8> for Row
impl IntoRustByIndex<NonZeroI8> for Row
fn get_by_index(&self, index: usize) -> Result<Option<NonZeroI8>>
fn get_r_by_index(&self, index: usize) -> CDRSResult<R>
sourceimpl IntoRustByIndex<PrimitiveDateTime> for Row
impl IntoRustByIndex<PrimitiveDateTime> for Row
fn get_by_index(&self, index: usize) -> Result<Option<PrimitiveDateTime>>
fn get_r_by_index(&self, index: usize) -> CDRSResult<R>
sourceimpl IntoRustByIndex<String> for Row
impl IntoRustByIndex<String> for Row
fn get_by_index(&self, index: usize) -> Result<Option<String>>
fn get_r_by_index(&self, index: usize) -> CDRSResult<R>
sourceimpl IntoRustByIndex<Tuple> for Row
impl IntoRustByIndex<Tuple> for Row
fn get_by_index(&self, index: usize) -> Result<Option<Tuple>>
fn get_r_by_index(&self, index: usize) -> CDRSResult<R>
sourceimpl IntoRustByIndex<Udt> for Row
impl IntoRustByIndex<Udt> for Row
fn get_by_index(&self, index: usize) -> Result<Option<Udt>>
fn get_r_by_index(&self, index: usize) -> CDRSResult<R>
sourceimpl IntoRustByIndex<Uuid> for Row
impl IntoRustByIndex<Uuid> for Row
fn get_by_index(&self, index: usize) -> Result<Option<Uuid>>
fn get_r_by_index(&self, index: usize) -> CDRSResult<R>
sourceimpl IntoRustByIndex<bool> for Row
impl IntoRustByIndex<bool> for Row
fn get_by_index(&self, index: usize) -> Result<Option<bool>>
fn get_r_by_index(&self, index: usize) -> CDRSResult<R>
sourceimpl IntoRustByIndex<f32> for Row
impl IntoRustByIndex<f32> for Row
fn get_by_index(&self, index: usize) -> Result<Option<f32>>
fn get_r_by_index(&self, index: usize) -> CDRSResult<R>
sourceimpl IntoRustByIndex<f64> for Row
impl IntoRustByIndex<f64> for Row
fn get_by_index(&self, index: usize) -> Result<Option<f64>>
fn get_r_by_index(&self, index: usize) -> CDRSResult<R>
sourceimpl IntoRustByIndex<i16> for Row
impl IntoRustByIndex<i16> for Row
fn get_by_index(&self, index: usize) -> Result<Option<i16>>
fn get_r_by_index(&self, index: usize) -> CDRSResult<R>
sourceimpl IntoRustByIndex<i32> for Row
impl IntoRustByIndex<i32> for Row
fn get_by_index(&self, index: usize) -> Result<Option<i32>>
fn get_r_by_index(&self, index: usize) -> CDRSResult<R>
sourceimpl IntoRustByIndex<i64> for Row
impl IntoRustByIndex<i64> for Row
fn get_by_index(&self, index: usize) -> Result<Option<i64>>
fn get_r_by_index(&self, index: usize) -> CDRSResult<R>
sourceimpl IntoRustByIndex<i8> for Row
impl IntoRustByIndex<i8> for Row
fn get_by_index(&self, index: usize) -> Result<Option<i8>>
fn get_r_by_index(&self, index: usize) -> CDRSResult<R>
sourceimpl IntoRustByName<BigInt> for Row
impl IntoRustByName<BigInt> for Row
fn get_by_name(&self, name: &str) -> Result<Option<BigInt>>
fn get_r_by_name(&self, name: &str) -> CDRSResult<R>
sourceimpl IntoRustByName<Blob> for Row
impl IntoRustByName<Blob> for Row
fn get_by_name(&self, name: &str) -> Result<Option<Blob>>
fn get_r_by_name(&self, name: &str) -> CDRSResult<R>
sourceimpl IntoRustByName<DateTime<Utc>> for Row
impl IntoRustByName<DateTime<Utc>> for Row
fn get_by_name(&self, name: &str) -> Result<Option<DateTime<Utc>>>
fn get_r_by_name(&self, name: &str) -> CDRSResult<R>
sourceimpl IntoRustByName<Decimal> for Row
impl IntoRustByName<Decimal> for Row
fn get_by_name(&self, name: &str) -> Result<Option<Decimal>>
fn get_r_by_name(&self, name: &str) -> CDRSResult<R>
sourceimpl IntoRustByName<IpAddr> for Row
impl IntoRustByName<IpAddr> for Row
fn get_by_name(&self, name: &str) -> Result<Option<IpAddr>>
fn get_r_by_name(&self, name: &str) -> CDRSResult<R>
sourceimpl IntoRustByName<List> for Row
impl IntoRustByName<List> for Row
fn get_by_name(&self, name: &str) -> Result<Option<List>>
fn get_r_by_name(&self, name: &str) -> CDRSResult<R>
sourceimpl IntoRustByName<Map> for Row
impl IntoRustByName<Map> for Row
fn get_by_name(&self, name: &str) -> Result<Option<Map>>
fn get_r_by_name(&self, name: &str) -> CDRSResult<R>
sourceimpl IntoRustByName<NaiveDateTime> for Row
impl IntoRustByName<NaiveDateTime> for Row
fn get_by_name(&self, name: &str) -> Result<Option<NaiveDateTime>>
fn get_r_by_name(&self, name: &str) -> CDRSResult<R>
sourceimpl IntoRustByName<NonZeroI16> for Row
impl IntoRustByName<NonZeroI16> for Row
fn get_by_name(&self, name: &str) -> Result<Option<NonZeroI16>>
fn get_r_by_name(&self, name: &str) -> CDRSResult<R>
sourceimpl IntoRustByName<NonZeroI32> for Row
impl IntoRustByName<NonZeroI32> for Row
fn get_by_name(&self, name: &str) -> Result<Option<NonZeroI32>>
fn get_r_by_name(&self, name: &str) -> CDRSResult<R>
sourceimpl IntoRustByName<NonZeroI64> for Row
impl IntoRustByName<NonZeroI64> for Row
fn get_by_name(&self, name: &str) -> Result<Option<NonZeroI64>>
fn get_r_by_name(&self, name: &str) -> CDRSResult<R>
sourceimpl IntoRustByName<NonZeroI8> for Row
impl IntoRustByName<NonZeroI8> for Row
fn get_by_name(&self, name: &str) -> Result<Option<NonZeroI8>>
fn get_r_by_name(&self, name: &str) -> CDRSResult<R>
sourceimpl IntoRustByName<PrimitiveDateTime> for Row
impl IntoRustByName<PrimitiveDateTime> for Row
fn get_by_name(&self, name: &str) -> Result<Option<PrimitiveDateTime>>
fn get_r_by_name(&self, name: &str) -> CDRSResult<R>
sourceimpl IntoRustByName<String> for Row
impl IntoRustByName<String> for Row
fn get_by_name(&self, name: &str) -> Result<Option<String>>
fn get_r_by_name(&self, name: &str) -> CDRSResult<R>
sourceimpl IntoRustByName<Tuple> for Row
impl IntoRustByName<Tuple> for Row
fn get_by_name(&self, name: &str) -> Result<Option<Tuple>>
fn get_r_by_name(&self, name: &str) -> CDRSResult<R>
sourceimpl IntoRustByName<Udt> for Row
impl IntoRustByName<Udt> for Row
fn get_by_name(&self, name: &str) -> Result<Option<Udt>>
fn get_r_by_name(&self, name: &str) -> CDRSResult<R>
sourceimpl IntoRustByName<Uuid> for Row
impl IntoRustByName<Uuid> for Row
fn get_by_name(&self, name: &str) -> Result<Option<Uuid>>
fn get_r_by_name(&self, name: &str) -> CDRSResult<R>
sourceimpl IntoRustByName<bool> for Row
impl IntoRustByName<bool> for Row
fn get_by_name(&self, name: &str) -> Result<Option<bool>>
fn get_r_by_name(&self, name: &str) -> CDRSResult<R>
sourceimpl IntoRustByName<f32> for Row
impl IntoRustByName<f32> for Row
fn get_by_name(&self, name: &str) -> Result<Option<f32>>
fn get_r_by_name(&self, name: &str) -> CDRSResult<R>
sourceimpl IntoRustByName<f64> for Row
impl IntoRustByName<f64> for Row
fn get_by_name(&self, name: &str) -> Result<Option<f64>>
fn get_r_by_name(&self, name: &str) -> CDRSResult<R>
sourceimpl IntoRustByName<i16> for Row
impl IntoRustByName<i16> for Row
fn get_by_name(&self, name: &str) -> Result<Option<i16>>
fn get_r_by_name(&self, name: &str) -> CDRSResult<R>
sourceimpl IntoRustByName<i32> for Row
impl IntoRustByName<i32> for Row
fn get_by_name(&self, name: &str) -> Result<Option<i32>>
fn get_r_by_name(&self, name: &str) -> CDRSResult<R>
sourceimpl IntoRustByName<i64> for Row
impl IntoRustByName<i64> for Row
fn get_by_name(&self, name: &str) -> Result<Option<i64>>
fn get_r_by_name(&self, name: &str) -> CDRSResult<R>
sourceimpl IntoRustByName<i8> for Row
impl IntoRustByName<i8> for Row
fn get_by_name(&self, name: &str) -> Result<Option<i8>>
fn get_r_by_name(&self, name: &str) -> CDRSResult<R>
Auto Trait Implementations
impl RefUnwindSafe for Row
impl Send for Row
impl Sync for Row
impl Unpin for Row
impl UnwindSafe for Row
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more