Enum number_or_string::NumberOrString [] [src]

pub enum NumberOrString {
    Number(u64),
    String(String),
}

Variants

Trait Implementations

impl Clone for NumberOrString
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for NumberOrString
[src]

Formats the value using the given formatter.

impl Eq for NumberOrString
[src]

impl PartialEq for NumberOrString
[src]

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

This method tests for !=.

impl<'a> Deserialize<'a> for NumberOrString
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for NumberOrString
[src]

Serialize this value into the given Serde serializer. Read more