Enum fdb_rl_proto::fdb_rl::key_expression::v1::field::FieldLabel
source · pub enum FieldLabel {
NullInterpretation(FieldNullInterpretation),
FanType(FieldFanType),
}
Expand description
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 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 ==
.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