Enum jsonrpc_core::id::Id [] [src]

pub enum Id {
    Null,
    Str(String),
    Num(u64),
}

Request Id

Variants

No id (notification)

String id

Numeric id

Trait Implementations

impl Debug for Id
[src]

Formats the value using the given formatter.

impl PartialEq for Id
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for Id
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Serialize for Id
[src]

Serializes this value into this serializer.

impl Deserialize for Id
[src]

Deserialize this value given this Deserializer.