Enum gitlab::api::issues::IssueOrderBy
source · #[non_exhaustive]pub enum IssueOrderBy {
CreatedAt,
UpdatedAt,
Priority,
DueDate,
RelativePosition,
LabelPriority,
MilestoneDue,
Popularity,
Weight,
Title,
WeightFields,
}Expand description
Keys issue results may be ordered by.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CreatedAt
Sort by creation date.
UpdatedAt
Sort by last updated date.
Priority
Sort by priority.
DueDate
Sort by due date.
RelativePosition
Sort by relative position.
TOOD: position within what?
LabelPriority
Sort by priority labels.
MilestoneDue
Sort by milestone due date.
Popularity
Sort by popularity.
Weight
Sort by weight.
Title
Sort by type.
WeightFields
👎Deprecated: use
Weight instead (gitlab crate typo)Sort by weight.
Trait Implementations§
source§impl Clone for IssueOrderBy
impl Clone for IssueOrderBy
source§fn clone(&self) -> IssueOrderBy
fn clone(&self) -> IssueOrderBy
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 IssueOrderBy
impl Debug for IssueOrderBy
source§impl Default for IssueOrderBy
impl Default for IssueOrderBy
source§impl ParamValue<'static> for IssueOrderBy
impl ParamValue<'static> for IssueOrderBy
source§impl PartialEq for IssueOrderBy
impl PartialEq for IssueOrderBy
source§fn eq(&self, other: &IssueOrderBy) -> bool
fn eq(&self, other: &IssueOrderBy) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for IssueOrderBy
impl Eq for IssueOrderBy
impl StructuralEq for IssueOrderBy
impl StructuralPartialEq for IssueOrderBy
Auto Trait Implementations§
impl RefUnwindSafe for IssueOrderBy
impl Send for IssueOrderBy
impl Sync for IssueOrderBy
impl Unpin for IssueOrderBy
impl UnwindSafe for IssueOrderBy
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.