Struct cassandra_protocol::frame::message_prepare::BodyReqPrepare
source · [−]Expand description
Struct that represents a body of a envelope of type prepare
Fields
query: String
keyspace: Option<String>
Implementations
sourceimpl BodyReqPrepare
impl BodyReqPrepare
Trait Implementations
sourceimpl Clone for BodyReqPrepare
impl Clone for BodyReqPrepare
sourcefn clone(&self) -> BodyReqPrepare
fn clone(&self) -> BodyReqPrepare
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 moresourceimpl Debug for BodyReqPrepare
impl Debug for BodyReqPrepare
sourceimpl Default for BodyReqPrepare
impl Default for BodyReqPrepare
sourcefn default() -> BodyReqPrepare
fn default() -> BodyReqPrepare
Returns the “default value” for a type. Read more
sourceimpl FromCursor for BodyReqPrepare
impl FromCursor for BodyReqPrepare
sourceimpl Hash for BodyReqPrepare
impl Hash for BodyReqPrepare
sourceimpl Ord for BodyReqPrepare
impl Ord for BodyReqPrepare
sourcefn cmp(&self, other: &BodyReqPrepare) -> Ordering
fn cmp(&self, other: &BodyReqPrepare) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<BodyReqPrepare> for BodyReqPrepare
impl PartialEq<BodyReqPrepare> for BodyReqPrepare
sourcefn eq(&self, other: &BodyReqPrepare) -> bool
fn eq(&self, other: &BodyReqPrepare) -> bool
sourceimpl PartialOrd<BodyReqPrepare> for BodyReqPrepare
impl PartialOrd<BodyReqPrepare> for BodyReqPrepare
sourcefn partial_cmp(&self, other: &BodyReqPrepare) -> Option<Ordering>
fn partial_cmp(&self, other: &BodyReqPrepare) -> Option<Ordering>
1.0.0 · sourcefn 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 moresourceimpl Serialize for BodyReqPrepare
impl Serialize for BodyReqPrepare
impl Eq for BodyReqPrepare
impl StructuralEq for BodyReqPrepare
impl StructuralPartialEq for BodyReqPrepare
Auto Trait Implementations
impl RefUnwindSafe for BodyReqPrepare
impl Send for BodyReqPrepare
impl Sync for BodyReqPrepare
impl Unpin for BodyReqPrepare
impl UnwindSafe for BodyReqPrepare
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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