Struct cassandra_protocol::frame::message_execute::BodyReqExecute
source · pub struct BodyReqExecute<'a> {
pub id: &'a CBytesShort,
pub result_metadata_id: Option<&'a CBytesShort>,
pub query_parameters: &'a QueryParams,
}Expand description
The structure that represents a body of a envelope of type execute.
Fields§
§id: &'a CBytesShort§result_metadata_id: Option<&'a CBytesShort>§query_parameters: &'a QueryParamsImplementations§
source§impl<'a> BodyReqExecute<'a>
impl<'a> BodyReqExecute<'a>
pub fn new( id: &'a CBytesShort, result_metadata_id: Option<&'a CBytesShort>, query_parameters: &'a QueryParams ) -> BodyReqExecute<'a>
Trait Implementations§
source§impl<'a> Clone for BodyReqExecute<'a>
impl<'a> Clone for BodyReqExecute<'a>
source§fn clone(&self) -> BodyReqExecute<'a>
fn clone(&self) -> BodyReqExecute<'a>
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<'a> Debug for BodyReqExecute<'a>
impl<'a> Debug for BodyReqExecute<'a>
source§impl<'a> PartialEq for BodyReqExecute<'a>
impl<'a> PartialEq for BodyReqExecute<'a>
source§fn eq(&self, other: &BodyReqExecute<'a>) -> bool
fn eq(&self, other: &BodyReqExecute<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<'a> Serialize for BodyReqExecute<'a>
impl<'a> Serialize for BodyReqExecute<'a>
impl<'a> Eq for BodyReqExecute<'a>
impl<'a> StructuralPartialEq for BodyReqExecute<'a>
Auto Trait Implementations§
impl<'a> Freeze for BodyReqExecute<'a>
impl<'a> RefUnwindSafe for BodyReqExecute<'a>
impl<'a> Send for BodyReqExecute<'a>
impl<'a> Sync for BodyReqExecute<'a>
impl<'a> Unpin for BodyReqExecute<'a>
impl<'a> UnwindSafe for BodyReqExecute<'a>
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