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 for RowsMetadata
impl PartialEq 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 ==
.source§impl Serialize for RowsMetadata
impl Serialize for RowsMetadata
impl Eq for RowsMetadata
impl StructuralPartialEq for RowsMetadata
Auto Trait Implementations§
impl Freeze for RowsMetadata
impl RefUnwindSafe for RowsMetadata
impl Send for RowsMetadata
impl Sync for RowsMetadata
impl Unpin for RowsMetadata
impl UnwindSafe for RowsMetadata
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