Struct web30::jsonrpc::response::Response [−][src]
pub struct Response<R, E = Value> { pub id: Value, pub jsonrpc: String, pub data: ResponseData<R, E>, }
Fields
id: Value
jsonrpc: String
data: ResponseData<R, E>
Trait Implementations
impl<'de, R, E> Deserialize<'de> for Response<R, E> where
R: Deserialize<'de>,
E: Deserialize<'de>,
impl<'de, R, E> Deserialize<'de> for Response<R, E> where
R: Deserialize<'de>,
E: Deserialize<'de>,
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
Auto Trait Implementations
impl<R, E> RefUnwindSafe for Response<R, E> where
E: RefUnwindSafe,
R: RefUnwindSafe,
impl<R, E> UnwindSafe for Response<R, E> where
E: UnwindSafe,
R: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V