pub enum ResponseKind {
Ok {
result: Value,
},
Err {
error: ResponseError,
},
}Variants§
Trait Implementations§
Source§impl Clone for ResponseKind
impl Clone for ResponseKind
Source§fn clone(&self) -> ResponseKind
fn clone(&self) -> ResponseKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ResponseKind
impl Debug for ResponseKind
Source§impl<'de> Deserialize<'de> for ResponseKind
impl<'de> Deserialize<'de> for ResponseKind
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 ResponseKind
impl RefUnwindSafe for ResponseKind
impl Send for ResponseKind
impl Sync for ResponseKind
impl Unpin for ResponseKind
impl UnsafeUnpin for ResponseKind
impl UnwindSafe for ResponseKind
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