Enum webdriver::common::Nullable [] [src]

pub enum Nullable<T: ToJson> {
    Value(T),
    Null,
}

Variants

Methods

impl<T: ToJson> Nullable<T>
[src]

impl<T: ToJson> Nullable<T>
[src]

Trait Implementations

impl<T: PartialEq + ToJson> PartialEq for Nullable<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 + ToJson> Clone for Nullable<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Debug + ToJson> Debug for Nullable<T>
[src]

Formats the value using the given formatter.

impl<T: ToJson> ToJson for Nullable<T>
[src]

Converts the value of self to an instance of JSON

impl<T: ToJson> Encodable for Nullable<T>
[src]

Serialize a value using an Encoder.

impl<T: ToJson> Into<Option<T>> for Nullable<T>
[src]

Performs the conversion.

impl<T: ToJson> From<Option<T>> for Nullable<T>
[src]

Performs the conversion.