Struct ckb_cli_plugin_protocol::JsonrpcError
source · Expand description
A JSONRPC error object
Fields§
§code: i32
The integer identifier of the error
message: String
A string describing the error
data: Option<Value>
Additional data specific to the error
Trait Implementations§
source§impl Clone for JsonrpcError
impl Clone for JsonrpcError
source§fn clone(&self) -> JsonrpcError
fn clone(&self) -> JsonrpcError
Returns a copy 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 JsonrpcError
impl Debug for JsonrpcError
source§impl<'de> Deserialize<'de> for JsonrpcError
impl<'de> Deserialize<'de> for JsonrpcError
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<JsonrpcError> for JsonrpcError
impl PartialEq<JsonrpcError> for JsonrpcError
source§fn eq(&self, other: &JsonrpcError) -> bool
fn eq(&self, other: &JsonrpcError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.