Struct cassandra_protocol::types::rows::Row
source · pub struct Row { /* private fields */ }
Implementations§
source§impl Row
impl Row
pub fn from_body(body: BodyResResultRows) -> Vec<Row>
sourcepub fn contains_column(&self, name: &str) -> bool
pub fn contains_column(&self, name: &str) -> bool
Checks if a column is present in the row.
sourcepub fn is_empty(&self, index: usize) -> bool
pub fn is_empty(&self, index: usize) -> bool
Checks for NULL for a given column. Returns false if given column does not exist.
sourcepub fn is_empty_by_name(&self, name: &str) -> bool
pub fn is_empty_by_name(&self, name: &str) -> bool
Checks for NULL for a given column. Returns false if given column does not exist.