pub struct PluginRpcResponse {
pub jsonrpc: JsonRpcVersion,
pub id: u64,
pub outcome: RpcOutcome,
}Expand description
Wrapper for a single response line. Carries either result
or error.
Fields§
§jsonrpc: JsonRpcVersion§id: u64§outcome: RpcOutcomeTrait Implementations§
Source§impl Clone for PluginRpcResponse
impl Clone for PluginRpcResponse
Source§fn clone(&self) -> PluginRpcResponse
fn clone(&self) -> PluginRpcResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PluginRpcResponse
impl Debug for PluginRpcResponse
Source§impl<'de> Deserialize<'de> for PluginRpcResponse
impl<'de> Deserialize<'de> for PluginRpcResponse
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 PluginRpcResponse
impl PartialEq for PluginRpcResponse
Source§fn eq(&self, other: &PluginRpcResponse) -> bool
fn eq(&self, other: &PluginRpcResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PluginRpcResponse
impl Serialize for PluginRpcResponse
impl Eq for PluginRpcResponse
impl StructuralPartialEq for PluginRpcResponse
Auto Trait Implementations§
impl Freeze for PluginRpcResponse
impl RefUnwindSafe for PluginRpcResponse
impl Send for PluginRpcResponse
impl Sync for PluginRpcResponse
impl Unpin for PluginRpcResponse
impl UnsafeUnpin for PluginRpcResponse
impl UnwindSafe for PluginRpcResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.