Enum fdb_rl::key_expression::pb::ProtoKeyExpressionEnumV1
source · pub(crate) enum ProtoKeyExpressionEnumV1 {
Field(Field),
Nest(Box<Nest, Global>),
Concat(Concat),
}
Expand description
Protobuf generated types renamed to prepend Proto
and append
version (and add Enum
suffix).
Required.
Variants§
Implementations§
source§impl KeyExpression
impl KeyExpression
sourcepub fn merge<B>(
field: &mut Option<KeyExpression>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>( field: &mut Option<KeyExpression>, 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 KeyExpression
impl Clone for KeyExpression
source§fn clone(&self) -> KeyExpression
fn clone(&self) -> KeyExpression
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 KeyExpression
impl Debug for KeyExpression
source§impl From<KeyExpressionInternalEnumV1> for KeyExpression
impl From<KeyExpressionInternalEnumV1> for KeyExpression
source§fn from(
key_expression_internal_enum_v1: KeyExpressionInternalEnumV1
) -> ProtoKeyExpressionEnumV1
fn from( key_expression_internal_enum_v1: KeyExpressionInternalEnumV1 ) -> ProtoKeyExpressionEnumV1
Converts to this type from the input type.
source§impl PartialEq<KeyExpression> for KeyExpression
impl PartialEq<KeyExpression> for KeyExpression
source§fn eq(&self, other: &KeyExpression) -> bool
fn eq(&self, other: &KeyExpression) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<KeyExpression> for KeyExpressionInternalEnumV1
impl TryFrom<KeyExpression> for KeyExpressionInternalEnumV1
source§fn try_from(
proto_key_expression_enum_v1: ProtoKeyExpressionEnumV1
) -> FdbResult<KeyExpressionInternalEnumV1>
fn try_from( proto_key_expression_enum_v1: ProtoKeyExpressionEnumV1 ) -> FdbResult<KeyExpressionInternalEnumV1>
Performs the conversion.
impl StructuralPartialEq for KeyExpression
Auto Trait Implementations§
impl RefUnwindSafe for KeyExpression
impl Send for KeyExpression
impl Sync for KeyExpression
impl Unpin for KeyExpression
impl UnwindSafe for KeyExpression
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