Struct couch_rs::types::find::FindResult
source · pub struct FindResult<T: TypedCouchDocument> {
pub docs: Option<Vec<T>>,
pub warning: Option<String>,
pub error: Option<String>,
pub reason: Option<String>,
pub bookmark: Option<String>,
}
Expand description
Find result abstraction
Fields§
§docs: Option<Vec<T>>
§warning: Option<String>
§error: Option<String>
§reason: Option<String>
§bookmark: Option<String>
Trait Implementations§
source§impl<T: Clone + TypedCouchDocument> Clone for FindResult<T>
impl<T: Clone + TypedCouchDocument> Clone for FindResult<T>
source§fn clone(&self) -> FindResult<T>
fn clone(&self) -> FindResult<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 FindResult<T>
impl<T: Debug + TypedCouchDocument> Debug for FindResult<T>
source§impl<'de, T> Deserialize<'de> for FindResult<T>where
T: TypedCouchDocument,
impl<'de, T> Deserialize<'de> for FindResult<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 FindResult<T>
impl<T: PartialEq + TypedCouchDocument> PartialEq for FindResult<T>
source§fn eq(&self, other: &FindResult<T>) -> bool
fn eq(&self, other: &FindResult<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<T> Serialize for FindResult<T>where
T: Serialize + TypedCouchDocument,
impl<T> Serialize for FindResult<T>where
T: Serialize + TypedCouchDocument,
impl<T: Eq + TypedCouchDocument> Eq for FindResult<T>
impl<T: TypedCouchDocument> StructuralPartialEq for FindResult<T>
Auto Trait Implementations§
impl<T> Freeze for FindResult<T>
impl<T> RefUnwindSafe for FindResult<T>where
T: RefUnwindSafe,
impl<T> Send for FindResult<T>where
T: Send,
impl<T> Sync for FindResult<T>where
T: Sync,
impl<T> Unpin for FindResult<T>where
T: Unpin,
impl<T> UnwindSafe for FindResult<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