Struct ckb_cli_plugin_protocol::JsonrpcError
source · [−]Expand description
A JSONRPC error object
Fields
code: i32The integer identifier of the error
message: StringA string describing the error
data: Option<Value>Additional data specific to the error
Trait Implementations
sourceimpl Clone for JsonrpcError
impl Clone for JsonrpcError
sourcefn clone(&self) -> JsonrpcError
fn clone(&self) -> JsonrpcError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for JsonrpcError
impl Debug for JsonrpcError
sourceimpl<'de> Deserialize<'de> for JsonrpcError
impl<'de> Deserialize<'de> for JsonrpcError
sourcefn 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
sourceimpl PartialEq<JsonrpcError> for JsonrpcError
impl PartialEq<JsonrpcError> for JsonrpcError
sourcefn 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 ==. Read more
sourceimpl Serialize for JsonrpcError
impl Serialize for JsonrpcError
impl StructuralPartialEq for JsonrpcError
Auto Trait Implementations
impl RefUnwindSafe for JsonrpcError
impl Send for JsonrpcError
impl Sync for JsonrpcError
impl Unpin for JsonrpcError
impl UnwindSafe for JsonrpcError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more