pub(crate) enum KeyExpressionInternalEnumV1 {
Field(FieldInternalV1),
Nest(Box<NestInternalV1>),
Concat(ConcatInternalV1),
}
Expand description
Protobuf oneof
fdb_rl.key_expression.v1.KeyExpression.key_expression
uses
protos that contain a Required
field. So, we need to define
this type.
Variants§
Trait Implementations§
source§impl Clone for KeyExpressionInternalEnumV1
impl Clone for KeyExpressionInternalEnumV1
source§fn clone(&self) -> KeyExpressionInternalEnumV1
fn clone(&self) -> KeyExpressionInternalEnumV1
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 KeyExpressionInternalEnumV1
impl Debug for KeyExpressionInternalEnumV1
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<KeyExpressionInternalEnumV1> for KeyExpressionInternalEnumV1
impl PartialEq<KeyExpressionInternalEnumV1> for KeyExpressionInternalEnumV1
source§fn eq(&self, other: &KeyExpressionInternalEnumV1) -> bool
fn eq(&self, other: &KeyExpressionInternalEnumV1) -> 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 KeyExpressionInternalEnumV1
Auto Trait Implementations§
impl RefUnwindSafe for KeyExpressionInternalEnumV1
impl Send for KeyExpressionInternalEnumV1
impl Sync for KeyExpressionInternalEnumV1
impl Unpin for KeyExpressionInternalEnumV1
impl UnwindSafe for KeyExpressionInternalEnumV1
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