[−][src]Enum prost_types::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]
pub fn is_valid(value: i32) -> bool[src]
Returns true if value is a variant of NullValue.
pub 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 Clone for NullValue[src]
impl Copy for NullValue[src]
impl Debug for NullValue[src]
impl Default for NullValue[src]
impl Eq for NullValue[src]
impl From<NullValue> for i32[src]
impl Hash for NullValue[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl Ord for NullValue[src]
fn cmp(&self, other: &NullValue) -> Ordering[src]
fn max(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> Self1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self[src]
impl PartialEq<NullValue> for NullValue[src]
impl PartialOrd<NullValue> for NullValue[src]
fn partial_cmp(&self, other: &NullValue) -> Option<Ordering>[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
impl StructuralEq for NullValue[src]
impl StructuralPartialEq for NullValue[src]
Auto Trait Implementations
impl RefUnwindSafe for NullValue
impl Send for NullValue
impl Sync for NullValue
impl Unpin for NullValue
impl UnwindSafe for NullValue
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,