[−][src]Enum cdrs_temp::query::QueryValues
Enum that represents two types of query values:
- values without name
- values with names
Variants
Implementations
impl QueryValues
[src]
pub fn with_names(&self) -> bool
[src]
It returns true
if query values is with names and false
otherwise.
pub fn len(&self) -> usize
[src]
It return number of values.
Trait Implementations
impl Clone for QueryValues
[src]
fn clone(&self) -> QueryValues
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for QueryValues
[src]
impl<'a, T: Into<Value> + Clone> From<&'a [T]> for QueryValues
[src]
fn from(values: &'a [T]) -> QueryValues
[src]
It converts values from Vec
to query values without names QueryValues::SimpleValues
.
impl<S: ToString + Hash + Eq, V: Into<Value> + Clone> From<HashMap<S, V, RandomState>> for QueryValues
[src]
fn from(values: HashMap<S, V>) -> QueryValues
[src]
It converts values from HashMap
to query values with names QueryValues::NamedValues
.
impl<T: Into<Value> + Clone> From<Vec<T>> for QueryValues
[src]
fn from(values: Vec<T>) -> QueryValues
[src]
It converts values from Vec
to query values without names QueryValues::SimpleValues
.
impl IntoBytes for QueryValues
[src]
fn into_cbytes(&self) -> Vec<u8>
[src]
impl PartialEq<QueryValues> for QueryValues
[src]
fn eq(&self, other: &QueryValues) -> bool
[src]
fn ne(&self, other: &QueryValues) -> bool
[src]
impl StructuralPartialEq for QueryValues
[src]
Auto Trait Implementations
impl RefUnwindSafe for QueryValues
impl Send for QueryValues
impl Sync for QueryValues
impl Unpin for QueryValues
impl UnwindSafe for QueryValues
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,