pub struct WireResponse {
pub id: String,
pub ok: bool,
pub error: Option<ErrorPayload>,
pub payload: Option<Value>,
}Expand description
Go: wireResponse.
Fields§
§id: String§ok: bool§error: Option<ErrorPayload>§payload: Option<Value>Trait Implementations§
Source§impl Clone for WireResponse
impl Clone for WireResponse
Source§fn clone(&self) -> WireResponse
fn clone(&self) -> WireResponse
Returns a duplicate 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 WireResponse
impl Debug for WireResponse
Source§impl<'de> Deserialize<'de> for WireResponse
impl<'de> Deserialize<'de> for WireResponse
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 WireResponse
impl RefUnwindSafe for WireResponse
impl Send for WireResponse
impl Sync for WireResponse
impl Unpin for WireResponse
impl UnsafeUnpin for WireResponse
impl UnwindSafe for WireResponse
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