pub struct DocDbResponse {
pub version: u16,
pub result: DocDbResult,
}Fields§
§version: u16§result: DocDbResultImplementations§
Source§impl DocDbResponse
impl DocDbResponse
pub fn new(result: DocDbResult) -> Self
pub fn error(error: DocDbError) -> Self
Trait Implementations§
Source§impl Clone for DocDbResponse
impl Clone for DocDbResponse
Source§impl Debug for DocDbResponse
impl Debug for DocDbResponse
Source§impl<'de> Deserialize<'de> for DocDbResponse
impl<'de> Deserialize<'de> for DocDbResponse
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
impl Eq for DocDbResponse
Source§impl PartialEq for DocDbResponse
impl PartialEq for DocDbResponse
Source§impl Serialize for DocDbResponse
impl Serialize for DocDbResponse
impl StructuralPartialEq for DocDbResponse
Auto Trait Implementations§
impl Freeze for DocDbResponse
impl RefUnwindSafe for DocDbResponse
impl Send for DocDbResponse
impl Sync for DocDbResponse
impl Unpin for DocDbResponse
impl UnsafeUnpin for DocDbResponse
impl UnwindSafe for DocDbResponse
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