Enum jsonrpc_core::version::Version
[−]
[src]
pub enum Version { V2, }
Protocol Version
Variants
V2
JSONRPC 2.0
Trait Implementations
impl Debug for Version
[src]
impl PartialEq for Version
[src]
fn eq(&self, __arg_0: &Version) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Clone for Version
[src]
fn clone(&self) -> Version
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Serialize for Version
[src]
fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error> where S: Serializer
Serializes this value into this serializer.
impl Deserialize for Version
[src]
fn deserialize<D>(deserializer: &mut D) -> Result<Version, D::Error> where D: Deserializer
Deserialize this value given this Deserializer
.