Struct cassandra_protocol::frame::message_result::BodyResResultRows
source · pub struct BodyResResultRows {
pub metadata: RowsMetadata,
pub rows_count: CInt,
pub rows_content: Vec<Vec<CBytes>>,
pub protocol_version: Version,
}
Expand description
Structure that represents result of type rows.
Fields§
§metadata: RowsMetadata
Rows metadata
rows_count: CInt
Number of rows.
rows_content: Vec<Vec<CBytes>>
From spec: it is composed of rows_count
of rows.
protocol_version: Version
Protocol version.
Trait Implementations§
source§impl Clone for BodyResResultRows
impl Clone for BodyResResultRows
source§fn clone(&self) -> BodyResResultRows
fn clone(&self) -> BodyResResultRows
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BodyResResultRows
impl Debug for BodyResResultRows
source§impl FromCursor for BodyResResultRows
impl FromCursor for BodyResResultRows
source§fn from_cursor(
cursor: &mut Cursor<&[u8]>,
version: Version
) -> Result<BodyResResultRows>
fn from_cursor( cursor: &mut Cursor<&[u8]>, version: Version ) -> Result<BodyResResultRows>
Tries to parse Self from a cursor of bytes.
source§impl Hash for BodyResResultRows
impl Hash for BodyResResultRows
source§impl PartialEq<BodyResResultRows> for BodyResResultRows
impl PartialEq<BodyResResultRows> for BodyResResultRows
source§fn eq(&self, other: &BodyResResultRows) -> bool
fn eq(&self, other: &BodyResResultRows) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.