pub struct DocResult {
pub ok: bool,
pub id: String,
pub rev: Option<String>,
pub error: Option<String>,
pub reason: Option<String>,
}Fields§
§ok: bool§id: String§rev: Option<String>§error: Option<String>§reason: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for DocResult
impl<'de> Deserialize<'de> for DocResult
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
Auto Trait Implementations§
impl Freeze for DocResult
impl RefUnwindSafe for DocResult
impl Send for DocResult
impl Sync for DocResult
impl Unpin for DocResult
impl UnwindSafe for DocResult
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