[−][src]Struct couch_rs::types::query::QueryParams
Query parameters. You can use the builder paradigm to construct these parameters easily:
use couch_rs::types::query::QueryParams; let _qp = QueryParams::default().group(true).conflicts(false).start_key("1");
Fields
conflicts: Option<bool>
descending: Option<bool>
end_key: Option<String>
end_key_doc_id: Option<String>
group: Option<bool>
group_level: Option<u32>
include_docs: Option<bool>
attachments: Option<bool>
att_encoding_info: Option<bool>
inclusive_end: Option<bool>
key: Option<String>
keys: Vec<String>
limit: Option<u64>
reduce: Option<bool>
skip: Option<u64>
sorted: Option<bool>
stable: Option<bool>
stale: Option<String>
start_key: Option<String>
start_key_doc_id: Option<String>
update: Option<String>
update_seq: Option<bool>
Implementations
impl QueryParams
[src]
pub fn from_keys(keys: Vec<String>) -> Self
[src]
pub fn conflicts(self, conflicts: bool) -> Self
[src]
pub fn descending(self, descending: bool) -> Self
[src]
pub fn end_key(self, end_key: &str) -> Self
[src]
pub fn group(self, group: bool) -> Self
[src]
pub fn group_level(self, group_level: u32) -> Self
[src]
pub fn include_docs(self, include_docs: bool) -> Self
[src]
pub fn attachments(self, attachments: bool) -> Self
[src]
pub fn att_encoding_info(self, att_encoding_info: bool) -> Self
[src]
pub fn inclusive_end(self, inclusive_end: bool) -> Self
[src]
pub fn key(self, key: &str) -> Self
[src]
pub fn keys(self, keys: Vec<String>) -> Self
[src]
pub fn limit(self, limit: u64) -> Self
[src]
pub fn reduce(self, reduce: bool) -> Self
[src]
pub fn skip(self, skip: u64) -> Self
[src]
pub fn sorted(self, sorted: bool) -> Self
[src]
pub fn stable(self, stable: bool) -> Self
[src]
pub fn start_key(self, start_key: &str) -> Self
[src]
pub fn start_key_doc_id(self, start_key_doc_id: &str) -> Self
[src]
pub fn update(self, update: &str) -> Self
[src]
pub fn update_seq(self, update_seq: bool) -> Self
[src]
Trait Implementations
impl Clone for QueryParams
[src]
fn clone(&self) -> QueryParams
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for QueryParams
[src]
impl Default for QueryParams
[src]
impl<'de> Deserialize<'de> for QueryParams
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<QueryParams> for QueryParams
[src]
fn eq(&self, other: &QueryParams) -> bool
[src]
fn ne(&self, other: &QueryParams) -> bool
[src]
impl Serialize for QueryParams
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for QueryParams
[src]
Auto Trait Implementations
impl RefUnwindSafe for QueryParams
impl Send for QueryParams
impl Sync for QueryParams
impl Unpin for QueryParams
impl UnwindSafe for QueryParams
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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
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>,