Enum fdb_rl::key_expression::pb::ProtoFieldLabelEnumV1
source · pub(crate) enum ProtoFieldLabelEnumV1 {
NullInterpretation(FieldNullInterpretation),
FanType(FieldFanType),
}
Expand description
Protobuf generated types renamed to prepend Proto
and append
version (and add Enum
suffix).
Required.
Variants§
NullInterpretation(FieldNullInterpretation)
Field is not a repeated
field.
FanType(FieldFanType)
Field is a repeated
field.
Implementations§
source§impl FieldLabel
impl FieldLabel
sourcepub fn merge<B>(
field: &mut Option<FieldLabel>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>( field: &mut Option<FieldLabel>, tag: u32, wire_type: WireType, buf: &mut B, ctx: DecodeContext ) -> Result<(), DecodeError>where B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl Clone for FieldLabel
impl Clone for FieldLabel
source§fn clone(&self) -> FieldLabel
fn clone(&self) -> FieldLabel
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 FieldLabel
impl Debug for FieldLabel
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 PartialEq<FieldLabel> for FieldLabel
impl PartialEq<FieldLabel> for FieldLabel
source§fn eq(&self, other: &FieldLabel) -> bool
fn eq(&self, other: &FieldLabel) -> 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 FieldLabel
Auto Trait Implementations§
impl RefUnwindSafe for FieldLabel
impl Send for FieldLabel
impl Sync for FieldLabel
impl Unpin for FieldLabel
impl UnwindSafe for FieldLabel
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