Struct couch_rs::types::document::DocumentCreatedDetails
source · pub struct DocumentCreatedDetails {
pub id: String,
pub rev: String,
}
Expand description
Abstracted document creation result
Fields§
§id: String
Document ID
rev: String
New document revision token.
Trait Implementations§
source§impl Clone for DocumentCreatedDetails
impl Clone for DocumentCreatedDetails
source§fn clone(&self) -> DocumentCreatedDetails
fn clone(&self) -> DocumentCreatedDetails
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 Debug for DocumentCreatedDetails
impl Debug for DocumentCreatedDetails
source§impl<'de> Deserialize<'de> for DocumentCreatedDetails
impl<'de> Deserialize<'de> for DocumentCreatedDetails
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 PartialEq for DocumentCreatedDetails
impl PartialEq for DocumentCreatedDetails
source§fn eq(&self, other: &DocumentCreatedDetails) -> bool
fn eq(&self, other: &DocumentCreatedDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DocumentCreatedDetails
impl Serialize for DocumentCreatedDetails
impl Eq for DocumentCreatedDetails
impl StructuralPartialEq for DocumentCreatedDetails
Auto Trait Implementations§
impl Freeze for DocumentCreatedDetails
impl RefUnwindSafe for DocumentCreatedDetails
impl Send for DocumentCreatedDetails
impl Sync for DocumentCreatedDetails
impl Unpin for DocumentCreatedDetails
impl UnwindSafe for DocumentCreatedDetails
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