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 for BodyResResultRows
impl PartialEq 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 ==
.source§impl Serialize for BodyResResultRows
impl Serialize for BodyResResultRows
impl Eq for BodyResResultRows
impl StructuralPartialEq for BodyResResultRows
Auto Trait Implementations§
impl Freeze for BodyResResultRows
impl RefUnwindSafe for BodyResResultRows
impl Send for BodyResResultRows
impl Sync for BodyResResultRows
impl Unpin for BodyResResultRows
impl UnwindSafe for BodyResResultRows
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more