[−][src]Struct hdbconnect::Row
A generic implementation of a single line of a ResultSet
.
Methods
impl Row
[src]
impl Row
pub fn new(metadata: Arc<ResultSetMetadata>, values: Vec<HdbValue>) -> Row
[src]
pub fn new(metadata: Arc<ResultSetMetadata>, values: Vec<HdbValue>) -> Row
Factory for row.
pub fn len(&self) -> usize
[src]
pub fn len(&self) -> usize
Returns the length of the row.
pub fn is_empty(&self) -> bool
[src]
pub fn is_empty(&self) -> bool
Returns true if the row contains no value.
pub fn pop(&mut self) -> Option<HdbValue>
[src]
pub fn pop(&mut self) -> Option<HdbValue>
Removes and returns the last value.
pub fn get_fieldname(&self, i: usize) -> HdbResult<&String>
[src]
pub fn get_fieldname(&self, i: usize) -> HdbResult<&String>
Returns the name of the i'th column
pub fn reverse_values(&mut self)
[src]
pub fn reverse_values(&mut self)
Reverses the order of the values
pub fn cloned_value(&self, i: usize) -> HdbResult<HdbValue>
[src]
pub fn cloned_value(&self, i: usize) -> HdbResult<HdbValue>
Returns a clone of the ith value.
pub fn pop_into<'de, T>(&mut self) -> HdbResult<T> where
T: Deserialize<'de>,
[src]
pub fn pop_into<'de, T>(&mut self) -> HdbResult<T> where
T: Deserialize<'de>,
Pops and converts the last field into a plain rust value.
pub fn field_into<'de, T>(&mut self, i: usize) -> HdbResult<T> where
T: Deserialize<'de>,
[src]
pub fn field_into<'de, T>(&mut self, i: usize) -> HdbResult<T> where
T: Deserialize<'de>,
Swaps out a field and converts it into a plain rust value.
pub fn field_into_option<'de, T>(&mut self, i: usize) -> HdbResult<Option<T>> where
T: Deserialize<'de>,
[src]
pub fn field_into_option<'de, T>(&mut self, i: usize) -> HdbResult<Option<T>> where
T: Deserialize<'de>,
Swaps out a field and converts it into an Option of a plain rust value.
pub fn field_into_nclob(&mut self, i: usize) -> HdbResult<NCLob>
[src]
pub fn field_into_nclob(&mut self, i: usize) -> HdbResult<NCLob>
Swaps out a field and converts it into a CLOB.
pub fn field_into_clob(&mut self, i: usize) -> HdbResult<CLob>
[src]
pub fn field_into_clob(&mut self, i: usize) -> HdbResult<CLob>
Swaps out a field and converts it into a CLOB.
pub fn field_into_blob(&mut self, i: usize) -> HdbResult<BLob>
[src]
pub fn field_into_blob(&mut self, i: usize) -> HdbResult<BLob>
Swaps out a field and converts it into a BLob.
pub fn try_into<'de, T>(self) -> HdbResult<T> where
T: Deserialize<'de>,
[src]
pub fn try_into<'de, T>(self) -> HdbResult<T> where
T: Deserialize<'de>,
Converts the Row into a rust value.
Trait Implementations
impl Clone for Row
[src]
impl Clone for Row
fn clone(&self) -> Row
[src]
fn clone(&self) -> Row
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl IntoIterator for Row
[src]
impl IntoIterator for Row
type Item = HdbValue
The type of the elements being iterated over.
type IntoIter = IntoIter<HdbValue>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
fn into_iter(self) -> Self::IntoIter
impl Debug for Row
[src]
impl Debug for Row
impl Display for Row
[src]
impl Display for Row
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
impl<T> ToString for T where
T: Display + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<I> IntoIterator for I where
I: Iterator,
[src]
impl<I> IntoIterator for I where
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]
fn into_iter(self) -> I
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T> Same for T
impl<T> Same for T
type Output = T
Should always be Self