Enum prost_types::NullValue [] [src]

pub enum NullValue {
    NullValue,
}

NullValue is a singleton enumeration to represent the null value for the Value type union.

The JSON representation for NullValue is JSON null.

Variants

Null value.

Methods

impl NullValue
[src]

[src]

Returns true if value is a variant of NullValue.

[src]

Converts an i32 to a NullValue, or None if value is not a valid variant.

Trait Implementations

impl Default for NullValue
[src]

[src]

Returns the "default value" for a type. Read more

impl Clone for NullValue
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for NullValue
[src]

impl Debug for NullValue
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for NullValue
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for NullValue
[src]