Enum gitlab::api::users::UserProjectsOrderBy
source · #[non_exhaustive]pub enum UserProjectsOrderBy {
Id,
Name,
Path,
CreatedAt,
UpdatedAt,
Similarity,
LastActivityAt,
}
Expand description
Keys project 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.
Id
Order by the user ID.
Name
Order by the user display name.
Path
Order by the path.
CreatedAt
Order by the creation date of the project.
UpdatedAt
Order by the last updated date of the project.
Similarity
Order by a similarity score based on the search.
LastActivityAt
Order by the last activity date of the project.
Trait Implementations§
source§impl Clone for UserProjectsOrderBy
impl Clone for UserProjectsOrderBy
source§fn clone(&self) -> UserProjectsOrderBy
fn clone(&self) -> UserProjectsOrderBy
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 UserProjectsOrderBy
impl Debug for UserProjectsOrderBy
source§impl Default for UserProjectsOrderBy
impl Default for UserProjectsOrderBy
source§impl ParamValue<'static> for UserProjectsOrderBy
impl ParamValue<'static> for UserProjectsOrderBy
source§impl PartialEq for UserProjectsOrderBy
impl PartialEq for UserProjectsOrderBy
source§fn eq(&self, other: &UserProjectsOrderBy) -> bool
fn eq(&self, other: &UserProjectsOrderBy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for UserProjectsOrderBy
impl Eq for UserProjectsOrderBy
impl StructuralPartialEq for UserProjectsOrderBy
Auto Trait Implementations§
impl Freeze for UserProjectsOrderBy
impl RefUnwindSafe for UserProjectsOrderBy
impl Send for UserProjectsOrderBy
impl Sync for UserProjectsOrderBy
impl Unpin for UserProjectsOrderBy
impl UnwindSafe for UserProjectsOrderBy
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.