Struct yedb::common::JSONRpcResponse [−][src]
pub struct JSONRpcResponse<T: Serialize> {
pub id: Value,
pub result: Option<T>,
pub error: Option<Error>,
// some fields omitted
}
Fields
id: Value
result: Option<T>
error: Option<Error>
Trait Implementations
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