Struct cassandra_protocol::frame::message_register::BodyReqRegister
source · pub struct BodyReqRegister {
pub events: Vec<SimpleServerEvent>,
}
Expand description
The structure which represents a body of a envelope of type register
.
Fields§
§events: Vec<SimpleServerEvent>
Implementations§
source§impl BodyReqRegister
impl BodyReqRegister
pub fn new(events: Vec<SimpleServerEvent>) -> BodyReqRegister
Trait Implementations§
source§impl Clone for BodyReqRegister
impl Clone for BodyReqRegister
source§fn clone(&self) -> BodyReqRegister
fn clone(&self) -> BodyReqRegister
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 BodyReqRegister
impl Debug for BodyReqRegister
source§impl Default for BodyReqRegister
impl Default for BodyReqRegister
source§fn default() -> BodyReqRegister
fn default() -> BodyReqRegister
Returns the “default value” for a type. Read more
source§impl FromCursor for BodyReqRegister
impl FromCursor for BodyReqRegister
source§impl Hash for BodyReqRegister
impl Hash for BodyReqRegister
source§impl Ord for BodyReqRegister
impl Ord for BodyReqRegister
source§fn cmp(&self, other: &BodyReqRegister) -> Ordering
fn cmp(&self, other: &BodyReqRegister) -> 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 BodyReqRegister
impl PartialEq for BodyReqRegister
source§fn eq(&self, other: &BodyReqRegister) -> bool
fn eq(&self, other: &BodyReqRegister) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BodyReqRegister
impl PartialOrd for BodyReqRegister
source§fn partial_cmp(&self, other: &BodyReqRegister) -> Option<Ordering>
fn partial_cmp(&self, other: &BodyReqRegister) -> 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 moresource§impl Serialize for BodyReqRegister
impl Serialize for BodyReqRegister
impl Eq for BodyReqRegister
impl StructuralPartialEq for BodyReqRegister
Auto Trait Implementations§
impl Freeze for BodyReqRegister
impl RefUnwindSafe for BodyReqRegister
impl Send for BodyReqRegister
impl Sync for BodyReqRegister
impl Unpin for BodyReqRegister
impl UnwindSafe for BodyReqRegister
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