pub enum JsonRpcParams {
Array(Vec<Value>),
Object(Map<String, Value>),
}Variants§
Trait Implementations§
Source§impl Clone for JsonRpcParams
impl Clone for JsonRpcParams
Source§fn clone(&self) -> JsonRpcParams
fn clone(&self) -> JsonRpcParams
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 JsonRpcParams
impl Debug for JsonRpcParams
Source§impl DescribeOk for JsonRpcParams
impl DescribeOk for JsonRpcParams
fn describe_ok() -> Option<OkDescriptor>
Source§impl DescribeParams for JsonRpcParams
impl DescribeParams for JsonRpcParams
fn describe_params() -> Option<ParamsDescriptor>
Source§impl DescribeValue for JsonRpcParams
impl DescribeValue for JsonRpcParams
fn describe_value() -> ValueDescriptor
Source§impl<'de> Deserialize<'de> for JsonRpcParams
impl<'de> Deserialize<'de> for JsonRpcParams
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 JsonRpcParams
impl PartialEq for JsonRpcParams
Source§fn eq(&self, other: &JsonRpcParams) -> bool
fn eq(&self, other: &JsonRpcParams) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for JsonRpcParams
impl Serialize for JsonRpcParams
impl StructuralPartialEq for JsonRpcParams
Auto Trait Implementations§
impl Freeze for JsonRpcParams
impl RefUnwindSafe for JsonRpcParams
impl Send for JsonRpcParams
impl Sync for JsonRpcParams
impl Unpin for JsonRpcParams
impl UnsafeUnpin for JsonRpcParams
impl UnwindSafe for JsonRpcParams
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