pub struct RpcErrorPayload {
pub code: i64,
pub message: String,
pub data: Option<Value>,
}Fields§
§code: i64§message: String§data: Option<Value>Trait Implementations§
Source§impl Clone for RpcErrorPayload
impl Clone for RpcErrorPayload
Source§fn clone(&self) -> RpcErrorPayload
fn clone(&self) -> RpcErrorPayload
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 RpcErrorPayload
impl Debug for RpcErrorPayload
Source§impl<'de> Deserialize<'de> for RpcErrorPayload
impl<'de> Deserialize<'de> for RpcErrorPayload
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 Display for RpcErrorPayload
impl Display for RpcErrorPayload
Auto Trait Implementations§
impl Freeze for RpcErrorPayload
impl RefUnwindSafe for RpcErrorPayload
impl Send for RpcErrorPayload
impl Sync for RpcErrorPayload
impl Unpin for RpcErrorPayload
impl UnsafeUnpin for RpcErrorPayload
impl UnwindSafe for RpcErrorPayload
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