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

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

Variants

Methods

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

[src]

[src]

[src]

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

[src]

Trait Implementations

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter. Read more

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

[src]

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

[src]

This method tests for !=.

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

[src]

Converts the value of self to an instance of JSON

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

[src]

Serialize a value using an Encoder.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

Auto Trait Implementations

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

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