Struct ciboulette::CibouletteSortingElement [−][src]
pub struct CibouletteSortingElement { pub rel_chain: Vec<CibouletteResourceRelationshipDetails>, pub direction: CibouletteSortingDirection, pub field: ArcStr, }
Fields
rel_chain: Vec<CibouletteResourceRelationshipDetails>
The relation chain
direction: CibouletteSortingDirection
The direction of the sort
field: ArcStr
The field that is beeing sorted
Implementations
impl CibouletteSortingElement
[src]
impl CibouletteSortingElement
[src]pub fn rel_chain(&self) -> &Vec<CibouletteResourceRelationshipDetails>
[src]
The relation chain
pub fn direction(&self) -> &CibouletteSortingDirection
[src]
The direction of the sort
pub fn field(&self) -> &ArcStr
[src]
The field that is beeing sorted
impl CibouletteSortingElement
[src]
impl CibouletteSortingElement
[src]pub fn new(
rel_chain: Vec<CibouletteResourceRelationshipDetails>,
direction: CibouletteSortingDirection,
field: ArcStr
) -> Self
[src]
rel_chain: Vec<CibouletteResourceRelationshipDetails>,
direction: CibouletteSortingDirection,
field: ArcStr
) -> Self
Create a new sorting element
Trait Implementations
impl Clone for CibouletteSortingElement
[src]
impl Clone for CibouletteSortingElement
[src]fn clone(&self) -> CibouletteSortingElement
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Eq for CibouletteSortingElement
[src]
impl Eq for CibouletteSortingElement
[src]impl Ord for CibouletteSortingElement
[src]
impl Ord for CibouletteSortingElement
[src]impl PartialEq<CibouletteSortingElement> for CibouletteSortingElement
[src]
impl PartialEq<CibouletteSortingElement> for CibouletteSortingElement
[src]fn eq(&self, other: &CibouletteSortingElement) -> bool
[src]
fn ne(&self, other: &CibouletteSortingElement) -> bool
[src]
impl PartialOrd<CibouletteSortingElement> for CibouletteSortingElement
[src]
impl PartialOrd<CibouletteSortingElement> for CibouletteSortingElement
[src]fn partial_cmp(&self, other: &CibouletteSortingElement) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolAuto Trait Implementations
impl RefUnwindSafe for CibouletteSortingElement
impl RefUnwindSafe for CibouletteSortingElement
impl Send for CibouletteSortingElement
impl Send for CibouletteSortingElement
impl Sync for CibouletteSortingElement
impl Sync for CibouletteSortingElement
impl Unpin for CibouletteSortingElement
impl Unpin for CibouletteSortingElement
impl UnwindSafe for CibouletteSortingElement
impl UnwindSafe for CibouletteSortingElement