Struct cassandra_protocol::frame::message_result::RowsMetadata
source · pub struct RowsMetadata {
pub flags: RowsMetadataFlags,
pub columns_count: i32,
pub paging_state: Option<CBytes>,
pub new_metadata_id: Option<CBytesShort>,
pub global_table_spec: Option<TableSpec>,
pub col_specs: Vec<ColSpec>,
}
Expand description
Rows metadata.
Fields§
§flags: RowsMetadataFlags
Flags.
columns_count: i32
Number of columns.
paging_state: Option<CBytes>
Paging state.
new_metadata_id: Option<CBytesShort>
New, changed result set metadata. The new metadata ID must also be used in subsequent executions of the corresponding prepared statement, if any.
global_table_spec: Option<TableSpec>
Option
that may contain global table space.
col_specs: Vec<ColSpec>
List of column specifications.
Trait Implementations§
source§impl Clone for RowsMetadata
impl Clone for RowsMetadata
source§fn clone(&self) -> RowsMetadata
fn clone(&self) -> RowsMetadata
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 RowsMetadata
impl Debug for RowsMetadata
source§impl FromCursor for RowsMetadata
impl FromCursor for RowsMetadata
source§fn from_cursor(
cursor: &mut Cursor<&[u8]>,
version: Version
) -> Result<RowsMetadata>
fn from_cursor( cursor: &mut Cursor<&[u8]>, version: Version ) -> Result<RowsMetadata>
Tries to parse Self from a cursor of bytes.
source§impl Hash for RowsMetadata
impl Hash for RowsMetadata
source§impl PartialEq<RowsMetadata> for RowsMetadata
impl PartialEq<RowsMetadata> for RowsMetadata
source§fn eq(&self, other: &RowsMetadata) -> bool
fn eq(&self, other: &RowsMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.