Struct cassandra_protocol::frame::frame_query::BodyReqQuery
source · [−]pub struct BodyReqQuery {
pub query: String,
pub query_params: QueryParams,
}
Expand description
Structure which represents body of Query request
Fields
query: String
Query string.
query_params: QueryParams
Query parameters.
Trait Implementations
sourceimpl Clone for BodyReqQuery
impl Clone for BodyReqQuery
sourcefn clone(&self) -> BodyReqQuery
fn clone(&self) -> BodyReqQuery
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 more
sourceimpl Debug for BodyReqQuery
impl Debug for BodyReqQuery
sourceimpl Default for BodyReqQuery
impl Default for BodyReqQuery
sourcefn default() -> BodyReqQuery
fn default() -> BodyReqQuery
Returns the “default value” for a type. Read more
sourceimpl FromCursor for BodyReqQuery
impl FromCursor for BodyReqQuery
sourcefn from_cursor(cursor: &mut Cursor<&[u8]>) -> Result<BodyReqQuery>
fn from_cursor(cursor: &mut Cursor<&[u8]>) -> Result<BodyReqQuery>
It should return an implementor from an io::Cursor
over an array of bytes.
sourceimpl PartialEq<BodyReqQuery> for BodyReqQuery
impl PartialEq<BodyReqQuery> for BodyReqQuery
sourcefn eq(&self, other: &BodyReqQuery) -> bool
fn eq(&self, other: &BodyReqQuery) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BodyReqQuery) -> bool
fn ne(&self, other: &BodyReqQuery) -> bool
This method tests for !=
.
sourceimpl Serialize for BodyReqQuery
impl Serialize for BodyReqQuery
impl Eq for BodyReqQuery
impl StructuralEq for BodyReqQuery
impl StructuralPartialEq for BodyReqQuery
Auto Trait Implementations
impl RefUnwindSafe for BodyReqQuery
impl Send for BodyReqQuery
impl Sync for BodyReqQuery
impl Unpin for BodyReqQuery
impl UnwindSafe for BodyReqQuery
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more