Struct couch_rs::types::design::DesignCreated
source · pub struct DesignCreated {
pub result: Option<String>,
pub id: Option<String>,
pub name: Option<String>,
pub error: Option<String>,
pub reason: Option<String>,
}
Expand description
Design document created abstraction
Fields§
§result: Option<String>
§id: Option<String>
§name: Option<String>
§error: Option<String>
§reason: Option<String>
Implementations§
source§impl DesignCreated
impl DesignCreated
pub fn status(&self) -> CouchResult<Status>
Trait Implementations§
source§impl Clone for DesignCreated
impl Clone for DesignCreated
source§fn clone(&self) -> DesignCreated
fn clone(&self) -> DesignCreated
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 DesignCreated
impl Debug for DesignCreated
source§impl<'de> Deserialize<'de> for DesignCreated
impl<'de> Deserialize<'de> for DesignCreated
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 DesignCreated
impl PartialEq for DesignCreated
source§fn eq(&self, other: &DesignCreated) -> bool
fn eq(&self, other: &DesignCreated) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DesignCreated
impl Serialize for DesignCreated
impl Eq for DesignCreated
impl StructuralPartialEq for DesignCreated
Auto Trait Implementations§
impl Freeze for DesignCreated
impl RefUnwindSafe for DesignCreated
impl Send for DesignCreated
impl Sync for DesignCreated
impl Unpin for DesignCreated
impl UnwindSafe for DesignCreated
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