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