pub struct PluginRpcRequest {
pub jsonrpc: JsonRpcVersion,
pub id: u64,
pub call: PluginRequest,
}Expand description
Wrapper for a single request line. Always includes
jsonrpc = "2.0", an integer id, and a method name with
typed params.
Fields§
§jsonrpc: JsonRpcVersion§id: u64§call: PluginRequestTrait Implementations§
Source§impl Clone for PluginRpcRequest
impl Clone for PluginRpcRequest
Source§fn clone(&self) -> PluginRpcRequest
fn clone(&self) -> PluginRpcRequest
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 PluginRpcRequest
impl Debug for PluginRpcRequest
Source§impl<'de> Deserialize<'de> for PluginRpcRequest
impl<'de> Deserialize<'de> for PluginRpcRequest
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
impl Eq for PluginRpcRequest
Source§impl PartialEq for PluginRpcRequest
impl PartialEq for PluginRpcRequest
Source§fn eq(&self, other: &PluginRpcRequest) -> bool
fn eq(&self, other: &PluginRpcRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PluginRpcRequest
impl Serialize for PluginRpcRequest
impl StructuralPartialEq for PluginRpcRequest
Auto Trait Implementations§
impl Freeze for PluginRpcRequest
impl RefUnwindSafe for PluginRpcRequest
impl Send for PluginRpcRequest
impl Sync for PluginRpcRequest
impl Unpin for PluginRpcRequest
impl UnsafeUnpin for PluginRpcRequest
impl UnwindSafe for PluginRpcRequest
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.