Enum repr::gen::row::ProtoDatumOther [−][src]
#[repr(i32)]
pub enum ProtoDatumOther {
Unknown,
Null,
False,
True,
JsonNull,
Dummy,
NumericPosInf,
NumericNegInf,
NumericNaN,
}
Variants
Unknown
It’s generally good practice to make id 0 (the default if the field is unset) in proto enums be an Unknown sentinel. This allows for distinguishing between unset and any of the enum variants.
This enum is initially used only in a oneof, which means we can distinguish unset without this sentinel. But stick one in here anyway, in case this enum gets used somewhere else in the future.
Null
False
True
JsonNull
Dummy
NumericPosInf
NumericNegInf
NumericNaN
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ProtoDatumOther
impl Send for ProtoDatumOther
impl Sync for ProtoDatumOther
impl Unpin for ProtoDatumOther
impl UnwindSafe for ProtoDatumOther
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more