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<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more