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
sourceimpl Clone for RowsMetadata
impl Clone for RowsMetadata
sourcefn clone(&self) -> RowsMetadata
fn clone(&self) -> RowsMetadata
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RowsMetadata
impl Debug for RowsMetadata
sourceimpl FromCursor for RowsMetadata
impl FromCursor for RowsMetadata
sourcefn 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.
sourceimpl Hash for RowsMetadata
impl Hash for RowsMetadata
sourceimpl Ord for RowsMetadata
impl Ord for RowsMetadata
sourcefn cmp(&self, other: &RowsMetadata) -> Ordering
fn cmp(&self, other: &RowsMetadata) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<RowsMetadata> for RowsMetadata
impl PartialEq<RowsMetadata> for RowsMetadata
sourcefn eq(&self, other: &RowsMetadata) -> bool
fn eq(&self, other: &RowsMetadata) -> bool
sourceimpl PartialOrd<RowsMetadata> for RowsMetadata
impl PartialOrd<RowsMetadata> for RowsMetadata
sourcefn partial_cmp(&self, other: &RowsMetadata) -> Option<Ordering>
fn partial_cmp(&self, other: &RowsMetadata) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresourceimpl Serialize for RowsMetadata
impl Serialize for RowsMetadata
impl Eq for RowsMetadata
impl StructuralEq for RowsMetadata
impl StructuralPartialEq for RowsMetadata
Auto Trait Implementations
impl RefUnwindSafe for RowsMetadata
impl Send for RowsMetadata
impl Sync for RowsMetadata
impl Unpin for RowsMetadata
impl UnwindSafe for RowsMetadata
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more