Enum ethjson::maybe::MaybeEmpty[][src]

pub enum MaybeEmpty<T> {
    Some(T),
    None,
}

Deserializer of empty string values into optionals.

Variants

Some.

None.

Trait Implementations

impl<T: Debug> Debug for MaybeEmpty<T>
[src]

Formats the value using the given formatter. Read more

impl<T: PartialEq> PartialEq for MaybeEmpty<T>
[src]

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

This method tests for !=.

impl<T: Clone> Clone for MaybeEmpty<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a, T> Deserialize<'a> for MaybeEmpty<T> where
    T: Deserialize<'a>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

impl<T> Into<Option<T>> for MaybeEmpty<T>
[src]

Performs the conversion.

Auto Trait Implementations

impl<T> Send for MaybeEmpty<T> where
    T: Send

impl<T> Sync for MaybeEmpty<T> where
    T: Sync