Struct spanner_rs::Row [−][src]
pub struct Row<'a> { /* fields omitted */ }Expand description
A row of a result set returned by Cloud Spanner.
Every row of a result set shares the same type.
Implementations
Returns the structure of this row (field names and type).
Returns the converted value of the specified column.
An error is returned if the requested column does not exist or if the decoding of the value returns an error.
pub fn get_unchecked<T, R>(&'a self, row_index: R) -> T where
T: FromSpanner<'a>,
R: RowIndex + Display,
pub fn get_unchecked<T, R>(&'a self, row_index: R) -> T where
T: FromSpanner<'a>,
R: RowIndex + Display,
Returns the converted value of the specified column.
Panics
Panics if the specified index does not exist or if the value cannot be converted to requested type.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Row<'a>
impl<'a> UnwindSafe for Row<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more