pub struct JsonRpcRaw {
pub jsonrpc: String,
pub id: Option<u64>,
pub method: Option<String>,
pub params: Option<Value>,
pub result: Option<Value>,
pub error: Option<ErrorData>,
}Fields§
§jsonrpc: String§id: Option<u64>§method: Option<String>§params: Option<Value>§result: Option<Value>§error: Option<ErrorData>Trait Implementations§
Source§impl Debug for JsonRpcRaw
impl Debug for JsonRpcRaw
Source§impl<'de> Deserialize<'de> for JsonRpcRaw
impl<'de> Deserialize<'de> for JsonRpcRaw
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 Serialize for JsonRpcRaw
impl Serialize for JsonRpcRaw
Source§impl TryFrom<JsonRpcRaw> for JsonRpcMessage
impl TryFrom<JsonRpcRaw> for JsonRpcMessage
Auto Trait Implementations§
impl Freeze for JsonRpcRaw
impl RefUnwindSafe for JsonRpcRaw
impl Send for JsonRpcRaw
impl Sync for JsonRpcRaw
impl Unpin for JsonRpcRaw
impl UnwindSafe for JsonRpcRaw
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