Enum fdb_rl::key_expression::FieldFanType
source · pub(crate) enum FieldFanType {
FanOut,
Concatenate,
}
Expand description
How to handle repeated field.
Variants§
FanOut
Create an index value for each value of the field.
Concatenate
Convert a repeated field into a single list.
This does not cause the number of index values to increase.
Trait Implementations§
source§impl From<FieldFanType> for FieldFanTypeInternalV1
impl From<FieldFanType> for FieldFanTypeInternalV1
source§fn from(field_fan_type: FieldFanType) -> FieldFanTypeInternalV1
fn from(field_fan_type: FieldFanType) -> FieldFanTypeInternalV1
Converts to this type from the input type.
source§impl From<FieldFanTypeInternalV1> for FieldFanType
impl From<FieldFanTypeInternalV1> for FieldFanType
source§fn from(pb_field_fan_type_internal_v1: FieldFanTypeInternalV1) -> FieldFanType
fn from(pb_field_fan_type_internal_v1: FieldFanTypeInternalV1) -> FieldFanType
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for FieldFanType
impl Send for FieldFanType
impl Sync for FieldFanType
impl Unpin for FieldFanType
impl UnwindSafe for FieldFanType
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