pub struct JsonRpcResponseSuccess<O> {
pub id: JsonRpcId,
pub result: O,
pub jsonrpc: String,
}Fields§
§id: JsonRpcId§result: O§jsonrpc: StringTrait Implementations§
Source§impl<O: Debug> Debug for JsonRpcResponseSuccess<O>
impl<O: Debug> Debug for JsonRpcResponseSuccess<O>
Source§impl<'de, O> Deserialize<'de> for JsonRpcResponseSuccess<O>where
O: Deserialize<'de>,
impl<'de, O> Deserialize<'de> for JsonRpcResponseSuccess<O>where
O: Deserialize<'de>,
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
Auto Trait Implementations§
impl<O> Freeze for JsonRpcResponseSuccess<O>where
O: Freeze,
impl<O> RefUnwindSafe for JsonRpcResponseSuccess<O>where
O: RefUnwindSafe,
impl<O> Send for JsonRpcResponseSuccess<O>where
O: Send,
impl<O> Sync for JsonRpcResponseSuccess<O>where
O: Sync,
impl<O> Unpin for JsonRpcResponseSuccess<O>where
O: Unpin,
impl<O> UnwindSafe for JsonRpcResponseSuccess<O>where
O: UnwindSafe,
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