pub enum JsonRpcVersion {
V20,
}Expand description
The constant "2.0".
Variants§
V20
The constant "2.0".
Implementations§
Trait Implementations§
Source§impl Clone for JsonRpcVersion
impl Clone for JsonRpcVersion
Source§fn clone(&self) -> JsonRpcVersion
fn clone(&self) -> JsonRpcVersion
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 moreimpl Copy for JsonRpcVersion
Source§impl Debug for JsonRpcVersion
impl Debug for JsonRpcVersion
Source§impl Default for JsonRpcVersion
impl Default for JsonRpcVersion
Source§fn default() -> JsonRpcVersion
fn default() -> JsonRpcVersion
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JsonRpcVersion
impl<'de> Deserialize<'de> for JsonRpcVersion
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<JsonRpcVersion, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<JsonRpcVersion, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for JsonRpcVersion
Source§impl Hash for JsonRpcVersion
impl Hash for JsonRpcVersion
Source§impl PartialEq for JsonRpcVersion
impl PartialEq for JsonRpcVersion
Source§impl Serialize for JsonRpcVersion
impl Serialize for JsonRpcVersion
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for JsonRpcVersion
Auto Trait Implementations§
impl Freeze for JsonRpcVersion
impl RefUnwindSafe for JsonRpcVersion
impl Send for JsonRpcVersion
impl Sync for JsonRpcVersion
impl Unpin for JsonRpcVersion
impl UnsafeUnpin for JsonRpcVersion
impl UnwindSafe for JsonRpcVersion
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