pub struct BodyResResultSetKeyspace {
pub body: String,
}
Expand description
It represents set keyspace result body. Body contains keyspace name.
Fields§
§body: String
It contains name of keyspace that was set.
Implementations§
source§impl BodyResResultSetKeyspace
impl BodyResResultSetKeyspace
pub fn new(body: String) -> BodyResResultSetKeyspace
Trait Implementations§
source§impl Clone for BodyResResultSetKeyspace
impl Clone for BodyResResultSetKeyspace
source§fn clone(&self) -> BodyResResultSetKeyspace
fn clone(&self) -> BodyResResultSetKeyspace
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 BodyResResultSetKeyspace
impl Debug for BodyResResultSetKeyspace
source§impl FromCursor for BodyResResultSetKeyspace
impl FromCursor for BodyResResultSetKeyspace
source§fn from_cursor(
cursor: &mut Cursor<&[u8]>,
_version: Version
) -> Result<BodyResResultSetKeyspace>
fn from_cursor( cursor: &mut Cursor<&[u8]>, _version: Version ) -> Result<BodyResResultSetKeyspace>
Tries to parse Self from a cursor of bytes.
source§impl Hash for BodyResResultSetKeyspace
impl Hash for BodyResResultSetKeyspace
source§impl Ord for BodyResResultSetKeyspace
impl Ord for BodyResResultSetKeyspace
source§fn cmp(&self, other: &BodyResResultSetKeyspace) -> Ordering
fn cmp(&self, other: &BodyResResultSetKeyspace) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<BodyResResultSetKeyspace> for BodyResResultSetKeyspace
impl PartialEq<BodyResResultSetKeyspace> for BodyResResultSetKeyspace
source§fn eq(&self, other: &BodyResResultSetKeyspace) -> bool
fn eq(&self, other: &BodyResResultSetKeyspace) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<BodyResResultSetKeyspace> for BodyResResultSetKeyspace
impl PartialOrd<BodyResResultSetKeyspace> for BodyResResultSetKeyspace
source§fn partial_cmp(&self, other: &BodyResResultSetKeyspace) -> Option<Ordering>
fn partial_cmp(&self, other: &BodyResResultSetKeyspace) -> Option<Ordering>
1.0.0 · source§fn 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 more