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 const 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 for BodyResResultSetKeyspace
impl PartialEq for BodyResResultSetKeyspace
Source§impl PartialOrd for BodyResResultSetKeyspace
impl PartialOrd for BodyResResultSetKeyspace
Source§impl Serialize for BodyResResultSetKeyspace
impl Serialize for BodyResResultSetKeyspace
impl Eq for BodyResResultSetKeyspace
impl StructuralPartialEq for BodyResResultSetKeyspace
Auto Trait Implementations§
impl Freeze for BodyResResultSetKeyspace
impl RefUnwindSafe for BodyResResultSetKeyspace
impl Send for BodyResResultSetKeyspace
impl Sync for BodyResResultSetKeyspace
impl Unpin for BodyResResultSetKeyspace
impl UnwindSafe for BodyResResultSetKeyspace
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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