Struct cassandra_protocol::query::prepared_query::PreparedQuery
source · [−]pub struct PreparedQuery {
pub id: CBytesShort,
pub query: String,
pub keyspace: Option<String>,
pub pk_indexes: Vec<i16>,
}
Fields
id: CBytesShort
query: String
keyspace: Option<String>
pk_indexes: Vec<i16>
Trait Implementations
sourceimpl Clone for PreparedQuery
impl Clone for PreparedQuery
sourcefn clone(&self) -> PreparedQuery
fn clone(&self) -> PreparedQuery
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 PreparedQuery
impl Debug for PreparedQuery
sourceimpl Hash for PreparedQuery
impl Hash for PreparedQuery
sourceimpl Ord for PreparedQuery
impl Ord for PreparedQuery
sourceimpl PartialEq<PreparedQuery> for PreparedQuery
impl PartialEq<PreparedQuery> for PreparedQuery
sourcefn eq(&self, other: &PreparedQuery) -> bool
fn eq(&self, other: &PreparedQuery) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PreparedQuery) -> bool
fn ne(&self, other: &PreparedQuery) -> bool
This method tests for !=
.
sourceimpl PartialOrd<PreparedQuery> for PreparedQuery
impl PartialOrd<PreparedQuery> for PreparedQuery
sourcefn partial_cmp(&self, other: &PreparedQuery) -> Option<Ordering>
fn partial_cmp(&self, other: &PreparedQuery) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
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 more
impl Eq for PreparedQuery
impl StructuralEq for PreparedQuery
impl StructuralPartialEq for PreparedQuery
Auto Trait Implementations
impl RefUnwindSafe for PreparedQuery
impl Send for PreparedQuery
impl Sync for PreparedQuery
impl Unpin for PreparedQuery
impl UnwindSafe for PreparedQuery
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