Enum fdb_rl_proto::fdb_rl::key_expression::v1::field::field_null_interpretation::FieldNullInterpretation
source · pub enum FieldNullInterpretation {
Distinct(Distinct),
NotDistinct(NotDistinct),
NotNull(NotNull),
}
Expand description
Required.
Variants§
Implementations§
source§impl FieldNullInterpretation
impl FieldNullInterpretation
sourcepub fn merge<B>(
field: &mut Option<FieldNullInterpretation>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>( field: &mut Option<FieldNullInterpretation>, 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 FieldNullInterpretation
impl Clone for FieldNullInterpretation
source§fn clone(&self) -> FieldNullInterpretation
fn clone(&self) -> FieldNullInterpretation
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 FieldNullInterpretation
impl Debug for FieldNullInterpretation
source§impl PartialEq<FieldNullInterpretation> for FieldNullInterpretation
impl PartialEq<FieldNullInterpretation> for FieldNullInterpretation
source§fn eq(&self, other: &FieldNullInterpretation) -> bool
fn eq(&self, other: &FieldNullInterpretation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FieldNullInterpretation
Auto Trait Implementations§
impl RefUnwindSafe for FieldNullInterpretation
impl Send for FieldNullInterpretation
impl Sync for FieldNullInterpretation
impl Unpin for FieldNullInterpretation
impl UnwindSafe for FieldNullInterpretation
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