pub enum JSONRPCBatchResponseItem {
Response(JSONRPCResponse),
Error(JSONRPCError),
}
Expand description
An item in a JSON-RPC batch response
Variants§
Trait Implementations§
Source§impl Clone for JSONRPCBatchResponseItem
impl Clone for JSONRPCBatchResponseItem
Source§fn clone(&self) -> JSONRPCBatchResponseItem
fn clone(&self) -> JSONRPCBatchResponseItem
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for JSONRPCBatchResponseItem
impl Debug for JSONRPCBatchResponseItem
Source§impl<'de> Deserialize<'de> for JSONRPCBatchResponseItem
impl<'de> Deserialize<'de> for JSONRPCBatchResponseItem
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 PartialEq for JSONRPCBatchResponseItem
impl PartialEq for JSONRPCBatchResponseItem
Source§impl Serialize for JSONRPCBatchResponseItem
impl Serialize for JSONRPCBatchResponseItem
impl StructuralPartialEq for JSONRPCBatchResponseItem
Auto Trait Implementations§
impl Freeze for JSONRPCBatchResponseItem
impl RefUnwindSafe for JSONRPCBatchResponseItem
impl Send for JSONRPCBatchResponseItem
impl Sync for JSONRPCBatchResponseItem
impl Unpin for JSONRPCBatchResponseItem
impl UnwindSafe for JSONRPCBatchResponseItem
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