pub struct QueryOrderTermV2 { /* private fields */ }Expand description
One descriptor-qualified model-query order term.
Implementations§
Source§impl QueryOrderTermV2
impl QueryOrderTermV2
Sourcepub const fn new(
field: QueryFieldV2,
direction: QueryOrderDirectionV2,
missing: QueryMissingOrderV2,
) -> Self
pub const fn new( field: QueryFieldV2, direction: QueryOrderDirectionV2, missing: QueryMissingOrderV2, ) -> Self
Construct one order term.
Sourcepub const fn field(&self) -> &QueryFieldV2
pub const fn field(&self) -> &QueryFieldV2
Return the ordered field.
Sourcepub const fn direction(&self) -> QueryOrderDirectionV2
pub const fn direction(&self) -> QueryOrderDirectionV2
Return the direction.
Sourcepub const fn missing(&self) -> QueryMissingOrderV2
pub const fn missing(&self) -> QueryMissingOrderV2
Return missing-value placement.
Trait Implementations§
Source§impl Clone for QueryOrderTermV2
impl Clone for QueryOrderTermV2
Source§fn clone(&self) -> QueryOrderTermV2
fn clone(&self) -> QueryOrderTermV2
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 QueryOrderTermV2
impl Debug for QueryOrderTermV2
Source§impl<'de> Deserialize<'de> for QueryOrderTermV2
impl<'de> Deserialize<'de> for QueryOrderTermV2
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for QueryOrderTermV2
Source§impl PartialEq for QueryOrderTermV2
impl PartialEq for QueryOrderTermV2
Source§impl Serialize for QueryOrderTermV2
impl Serialize for QueryOrderTermV2
impl StructuralPartialEq for QueryOrderTermV2
Auto Trait Implementations§
impl Freeze for QueryOrderTermV2
impl RefUnwindSafe for QueryOrderTermV2
impl Send for QueryOrderTermV2
impl Sync for QueryOrderTermV2
impl Unpin for QueryOrderTermV2
impl UnsafeUnpin for QueryOrderTermV2
impl UnwindSafe for QueryOrderTermV2
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