Enum jsonrpc_lite::Id
[−]
[src]
pub enum Id { Num(i64), Str(String), Null, }
An identifier established by the Client that MUST contain a String, Number, or NULL value if included. If it is not included it is assumed to be a notification. The value SHOULD normally not be Null and Numbers SHOULD NOT contain fractional parts
Variants
Num(i64)
Str(String)
Null
Trait Implementations
impl Clone for Id
[src]
fn clone(&self) -> Id
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 Eq for Id
[src]
impl PartialEq for Id
[src]
fn eq(&self, __arg_0: &Id) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Id) -> bool
This method tests for !=
.