pub struct RowView<'a> { /* private fields */ }Implementations§
Source§impl<'a> RowView<'a>
impl<'a> RowView<'a>
pub fn index(&self) -> usize
pub fn columns(&self) -> BorrowedColumns<'a>
pub fn row_number(&self) -> Option<RowNumber>
pub fn created_at_nanos(&self) -> Option<u64>
pub fn updated_at_nanos(&self) -> Option<u64>
pub fn is_defined(&self, name: &str) -> bool
pub fn utf8(&self, name: &str) -> Option<&'a str>
pub fn blob(&self, name: &str) -> Option<&'a [u8]>
pub fn bool(&self, name: &str) -> Option<bool>
pub fn u64(&self, name: &str) -> Option<u64>
pub fn u32(&self, name: &str) -> Option<u32>
pub fn u16(&self, name: &str) -> Option<u16>
pub fn u8(&self, name: &str) -> Option<u8>
pub fn i64(&self, name: &str) -> Option<i64>
pub fn i32(&self, name: &str) -> Option<i32>
pub fn i16(&self, name: &str) -> Option<i16>
pub fn i8(&self, name: &str) -> Option<i8>
pub fn f64(&self, name: &str) -> Option<f64>
pub fn f32(&self, name: &str) -> Option<f32>
pub fn decimal(&self, name: &str) -> Option<Decimal>
pub fn value(&self, name: &str) -> Option<Value>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for RowView<'a>
impl<'a> RefUnwindSafe for RowView<'a>
impl<'a> !Send for RowView<'a>
impl<'a> !Sync for RowView<'a>
impl<'a> Unpin for RowView<'a>
impl<'a> UnsafeUnpin for RowView<'a>
impl<'a> UnwindSafe for RowView<'a>
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