Enum fdb_rl::key_expression::pb::FieldLabelInternalEnumV1
source · pub(crate) enum FieldLabelInternalEnumV1 {
NullInterpretation(FieldNullInterpretationInternalV1),
FanType(FieldFanTypeInternalV1),
}
Expand description
Protobuf message fdb_rl.key_expression.v1.Field.field_label
enum indirectly contains a Required
field (via
FieldNullInterpretation
and FieldFanType
. So, we need to
define this type.
We have conversion functions to and from
ProtoFieldLabelEnumV1
.
Variants§
NullInterpretation(FieldNullInterpretationInternalV1)
FanType(FieldFanTypeInternalV1)
Trait Implementations§
source§impl Clone for FieldLabelInternalEnumV1
impl Clone for FieldLabelInternalEnumV1
source§fn clone(&self) -> FieldLabelInternalEnumV1
fn clone(&self) -> FieldLabelInternalEnumV1
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FieldLabelInternalEnumV1
impl Debug for FieldLabelInternalEnumV1
source§impl From<FieldLabel> for FieldLabelInternalEnumV1
impl From<FieldLabel> for FieldLabelInternalEnumV1
source§fn from(field_label: FieldLabel) -> FieldLabelInternalEnumV1
fn from(field_label: FieldLabel) -> FieldLabelInternalEnumV1
Converts to this type from the input type.
source§impl From<FieldLabelInternalEnumV1> for FieldLabel
impl From<FieldLabelInternalEnumV1> for FieldLabel
source§fn from(
field_label_internal_enum_v1: FieldLabelInternalEnumV1
) -> ProtoFieldLabelEnumV1
fn from( field_label_internal_enum_v1: FieldLabelInternalEnumV1 ) -> ProtoFieldLabelEnumV1
Converts to this type from the input type.
source§impl From<FieldLabelInternalEnumV1> for FieldLabel
impl From<FieldLabelInternalEnumV1> for FieldLabel
source§fn from(pb_field_label_internal_enumv1: FieldLabelInternalEnumV1) -> FieldLabel
fn from(pb_field_label_internal_enumv1: FieldLabelInternalEnumV1) -> FieldLabel
Converts to this type from the input type.
source§impl PartialEq<FieldLabelInternalEnumV1> for FieldLabelInternalEnumV1
impl PartialEq<FieldLabelInternalEnumV1> for FieldLabelInternalEnumV1
source§fn eq(&self, other: &FieldLabelInternalEnumV1) -> bool
fn eq(&self, other: &FieldLabelInternalEnumV1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<FieldLabel> for FieldLabelInternalEnumV1
impl TryFrom<FieldLabel> for FieldLabelInternalEnumV1
source§fn try_from(
proto_field_label_enum_v1: ProtoFieldLabelEnumV1
) -> FdbResult<FieldLabelInternalEnumV1>
fn try_from( proto_field_label_enum_v1: ProtoFieldLabelEnumV1 ) -> FdbResult<FieldLabelInternalEnumV1>
Performs the conversion.
impl StructuralPartialEq for FieldLabelInternalEnumV1
Auto Trait Implementations§
impl RefUnwindSafe for FieldLabelInternalEnumV1
impl Send for FieldLabelInternalEnumV1
impl Sync for FieldLabelInternalEnumV1
impl Unpin for FieldLabelInternalEnumV1
impl UnwindSafe for FieldLabelInternalEnumV1
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more