Struct couch_rs::document::AllDocsResponse
source · pub struct AllDocsResponse<T: TypedCouchDocument> {
pub total_rows: Option<u32>,
pub offset: Option<u32>,
pub rows: Vec<DocResponse<T>>,
}
Fields§
§total_rows: Option<u32>
§offset: Option<u32>
§rows: Vec<DocResponse<T>>
Trait Implementations§
source§impl<T: Clone + TypedCouchDocument> Clone for AllDocsResponse<T>
impl<T: Clone + TypedCouchDocument> Clone for AllDocsResponse<T>
source§fn clone(&self) -> AllDocsResponse<T>
fn clone(&self) -> AllDocsResponse<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T: Debug + TypedCouchDocument> Debug for AllDocsResponse<T>
impl<T: Debug + TypedCouchDocument> Debug for AllDocsResponse<T>
source§impl<'de, T> Deserialize<'de> for AllDocsResponse<T>where
T: TypedCouchDocument,
impl<'de, T> Deserialize<'de> for AllDocsResponse<T>where
T: TypedCouchDocument,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<T: PartialEq + TypedCouchDocument> PartialEq for AllDocsResponse<T>
impl<T: PartialEq + TypedCouchDocument> PartialEq for AllDocsResponse<T>
source§fn eq(&self, other: &AllDocsResponse<T>) -> bool
fn eq(&self, other: &AllDocsResponse<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<T> Serialize for AllDocsResponse<T>where
T: Serialize + TypedCouchDocument,
impl<T> Serialize for AllDocsResponse<T>where
T: Serialize + TypedCouchDocument,
impl<T: Eq + TypedCouchDocument> Eq for AllDocsResponse<T>
impl<T: TypedCouchDocument> StructuralPartialEq for AllDocsResponse<T>
Auto Trait Implementations§
impl<T> Freeze for AllDocsResponse<T>
impl<T> RefUnwindSafe for AllDocsResponse<T>where
T: RefUnwindSafe,
impl<T> Send for AllDocsResponse<T>where
T: Send,
impl<T> Sync for AllDocsResponse<T>where
T: Sync,
impl<T> Unpin for AllDocsResponse<T>where
T: Unpin,
impl<T> UnwindSafe for AllDocsResponse<T>where
T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more