pub trait Row<DB: Backend> {
// Required methods
fn take(&mut self) -> Option<&DB::RawValue>;
fn next_is_null(&self, count: usize) -> bool;
// Provided method
fn advance(&mut self, count: usize) { ... }
}Expand description
Represents a single database row. Apps should not need to concern themselves with this trait.
This trait is only used as an argument to FromSqlRow.
Required Methods§
Sourcefn next_is_null(&self, count: usize) -> bool
fn next_is_null(&self, count: usize) -> bool
Returns whether the next count columns are all NULL.
If this method returns true, then the next count calls to take
would all return None.