#[non_exhaustive]pub struct OrderByElement { /* private fields */ }Expand description
A field and direction for ordered output.
Implementations§
source§impl OrderByElement
impl OrderByElement
sourcepub fn field_name(&self) -> Option<&str>
pub fn field_name(&self) -> Option<&str>
The field on which to order.
sourcepub fn sort_order(&self) -> Option<&OrderString>
pub fn sort_order(&self) -> Option<&OrderString>
Ordering direction.
source§impl OrderByElement
impl OrderByElement
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture OrderByElement.
Trait Implementations§
source§impl Clone for OrderByElement
impl Clone for OrderByElement
source§fn clone(&self) -> OrderByElement
fn clone(&self) -> OrderByElement
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 OrderByElement
impl Debug for OrderByElement
source§impl PartialEq<OrderByElement> for OrderByElement
impl PartialEq<OrderByElement> for OrderByElement
source§fn eq(&self, other: &OrderByElement) -> bool
fn eq(&self, other: &OrderByElement) -> bool
This method tests for
self and other values to be equal, and is used
by ==.