pub enum ResponseValue {
Json(Value),
Bytes(Vec<u8>, FormatTag),
Unit,
}Expand description
Variants§
Trait Implementations§
Source§impl Clone for ResponseValue
impl Clone for ResponseValue
Source§fn clone(&self) -> ResponseValue
fn clone(&self) -> ResponseValue
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 ResponseValue
impl Debug for ResponseValue
Source§impl<'de> Deserialize<'de> for ResponseValue
impl<'de> Deserialize<'de> for ResponseValue
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 ResponseValue
impl PartialEq for ResponseValue
Source§impl Serialize for ResponseValue
impl Serialize for ResponseValue
impl StructuralPartialEq for ResponseValue
Auto Trait Implementations§
impl Freeze for ResponseValue
impl RefUnwindSafe for ResponseValue
impl Send for ResponseValue
impl Sync for ResponseValue
impl Unpin for ResponseValue
impl UnsafeUnpin for ResponseValue
impl UnwindSafe for ResponseValue
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