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
NullValue
Null value.
Methods
impl NullValue
[src]
fn is_valid(value: i32) -> bool
[src]
Returns true
if value
is a variant of NullValue
.
fn from_i32(value: i32) -> Option<NullValue>
[src]
Converts an i32
to a NullValue
, or None
if value
is not a valid variant.
Trait Implementations
impl Default for NullValue
[src]
impl Clone for NullValue
[src]
fn clone(&self) -> NullValue
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for NullValue
[src]
impl Debug for NullValue
[src]
impl PartialEq for NullValue
[src]
fn eq(&self, __arg_0: &NullValue) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.