pub enum FieldSource {
JsonbPayload,
DirectColumn,
}Expand description
Specifies where a field comes from in ORDER BY
Variants§
JsonbPayload
Field is inside the JSONB data column: data->>'field'
DirectColumn
Field is a direct database column: column_name
Trait Implementations§
Source§impl Clone for FieldSource
impl Clone for FieldSource
Source§fn clone(&self) -> FieldSource
fn clone(&self) -> FieldSource
Returns a duplicate 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 FieldSource
impl Debug for FieldSource
Source§impl Display for FieldSource
impl Display for FieldSource
Source§impl PartialEq for FieldSource
impl PartialEq for FieldSource
impl Copy for FieldSource
impl Eq for FieldSource
impl StructuralPartialEq for FieldSource
Auto Trait Implementations§
impl Freeze for FieldSource
impl RefUnwindSafe for FieldSource
impl Send for FieldSource
impl Sync for FieldSource
impl Unpin for FieldSource
impl UnsafeUnpin for FieldSource
impl UnwindSafe for FieldSource
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