Enum gitlab::api::projects::ProjectOrderBy
source · #[non_exhaustive]pub enum ProjectOrderBy {
Id,
Name,
Path,
CreatedAt,
UpdatedAt,
LastActivityAt,
Similarity,
RepositorySize,
StorageSize,
PackagesSize,
WikiSize,
}
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 project ID.
Name
Order by the name of the project.
Path
Order by the full path of the project.
CreatedAt
Order by the creation date of the project.
UpdatedAt
Order by the last updated date of the project.
LastActivityAt
Order by the last activity date of the project.
Similarity
Order by similarity (only relevant for searches).
RepositorySize
Order by repository size.
StorageSize
Order by storage size.
PackagesSize
Order by packages size.
WikiSize
Order by wiki size.
Trait Implementations§
source§impl Clone for ProjectOrderBy
impl Clone for ProjectOrderBy
source§fn clone(&self) -> ProjectOrderBy
fn clone(&self) -> ProjectOrderBy
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 ProjectOrderBy
impl Debug for ProjectOrderBy
source§impl Default for ProjectOrderBy
impl Default for ProjectOrderBy
source§impl ParamValue<'static> for ProjectOrderBy
impl ParamValue<'static> for ProjectOrderBy
source§impl PartialEq for ProjectOrderBy
impl PartialEq for ProjectOrderBy
source§fn eq(&self, other: &ProjectOrderBy) -> bool
fn eq(&self, other: &ProjectOrderBy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ProjectOrderBy
impl Eq for ProjectOrderBy
impl StructuralPartialEq for ProjectOrderBy
Auto Trait Implementations§
impl Freeze for ProjectOrderBy
impl RefUnwindSafe for ProjectOrderBy
impl Send for ProjectOrderBy
impl Sync for ProjectOrderBy
impl Unpin for ProjectOrderBy
impl UnwindSafe for ProjectOrderBy
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