[−][src]Struct quaint::prelude::ResultRow
An owned version of a Row
in a ResultSet
. See
ResultRowRef for documentation on data access.
Methods
impl ResultRow
[src]
pub fn at(&self, i: usize) -> Option<&ParameterizedValue<'static>>
[src]
Take a value from a certain position in the row, if having a value in that position. Usage documentation in ResultRowRef.
pub fn get(&self, name: &str) -> Option<&ParameterizedValue<'static>>
[src]
Take a value with the given column name from the row. Usage documentation in ResultRowRef.
pub fn as_ref(&self) -> ResultRowRef
[src]
Make a referring ResultRowRef.
Trait Implementations
impl Debug for ResultRow
[src]
impl<I: ValueIndex<ResultRow, ParameterizedValue<'static>> + 'static> Index<I> for ResultRow
[src]
type Output = ParameterizedValue<'static>
The returned type after indexing.
fn index(&self, index: I) -> &ParameterizedValue<'static>
[src]
impl IntoIterator for ResultRow
[src]
type Item = ParameterizedValue<'static>
The type of the elements being iterated over.
type IntoIter = IntoIter<ParameterizedValue<'static>>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl ValueIndex<ResultRow, ParameterizedValue<'static>> for usize
[src]
fn index_into<'v>(self, row: &'v ResultRow) -> &'v ParameterizedValue<'static>
[src]
impl<'_> ValueIndex<ResultRow, ParameterizedValue<'static>> for &'_ str
[src]
fn index_into<'v>(self, row: &'v ResultRow) -> &'v ParameterizedValue<'static>
[src]
Auto Trait Implementations
impl RefUnwindSafe for ResultRow
impl Send for ResultRow
impl Sync for ResultRow
impl Unpin for ResultRow
impl UnwindSafe for ResultRow
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<I> IntoIterator for I where
I: Iterator,
[src]
I: Iterator,
type Item = <I as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = I
Which kind of iterator are we turning this into?
fn into_iter(self) -> I
[src]
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,