Struct fdb_rl::key_expression::pb::FieldInternalV1
source · pub(crate) struct FieldInternalV1 {
pub(crate) field_number: u32,
pub(crate) field_label: FieldLabelInternalEnumV1,
}
Expand description
Protobuf message fdb_rl.key_expression.v1.Field
contains a Required
field. So, we need to define this type.
Fields§
§field_number: u32
§field_label: FieldLabelInternalEnumV1
Trait Implementations§
source§impl Clone for FieldInternalV1
impl Clone for FieldInternalV1
source§fn clone(&self) -> FieldInternalV1
fn clone(&self) -> FieldInternalV1
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 FieldInternalV1
impl Debug for FieldInternalV1
source§impl From<Field> for FieldInternalV1
impl From<Field> for FieldInternalV1
source§fn from(field: Field) -> FieldInternalV1
fn from(field: Field) -> FieldInternalV1
Converts to this type from the input type.
source§impl From<FieldInternalV1> for Field
impl From<FieldInternalV1> for Field
source§fn from(field_internal_v1: FieldInternalV1) -> ProtoFieldV1
fn from(field_internal_v1: FieldInternalV1) -> ProtoFieldV1
Converts to this type from the input type.
source§impl From<FieldInternalV1> for Field
impl From<FieldInternalV1> for Field
source§fn from(pb_field_internal_v1: FieldInternalV1) -> Field
fn from(pb_field_internal_v1: FieldInternalV1) -> Field
Converts to this type from the input type.
source§impl PartialEq<FieldInternalV1> for FieldInternalV1
impl PartialEq<FieldInternalV1> for FieldInternalV1
source§fn eq(&self, other: &FieldInternalV1) -> bool
fn eq(&self, other: &FieldInternalV1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<Field> for FieldInternalV1
impl TryFrom<Field> for FieldInternalV1
source§fn try_from(proto_field_v1: ProtoFieldV1) -> FdbResult<FieldInternalV1>
fn try_from(proto_field_v1: ProtoFieldV1) -> FdbResult<FieldInternalV1>
Performs the conversion.
impl StructuralPartialEq for FieldInternalV1
Auto Trait Implementations§
impl RefUnwindSafe for FieldInternalV1
impl Send for FieldInternalV1
impl Sync for FieldInternalV1
impl Unpin for FieldInternalV1
impl UnwindSafe for FieldInternalV1
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