Enum gitlab::api::users::UserOrderBy
source · #[non_exhaustive]pub enum UserOrderBy {
Id,
Name,
Username,
CreatedAt,
UpdatedAt,
}
Expand description
Keys user 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.
Username
Order by the username.
CreatedAt
Order by the creation date of the user.
UpdatedAt
Order by the last updated date of the project.
Trait Implementations§
source§impl Clone for UserOrderBy
impl Clone for UserOrderBy
source§fn clone(&self) -> UserOrderBy
fn clone(&self) -> UserOrderBy
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 UserOrderBy
impl Debug for UserOrderBy
source§impl Default for UserOrderBy
impl Default for UserOrderBy
source§impl ParamValue<'static> for UserOrderBy
impl ParamValue<'static> for UserOrderBy
source§impl PartialEq for UserOrderBy
impl PartialEq for UserOrderBy
source§fn eq(&self, other: &UserOrderBy) -> bool
fn eq(&self, other: &UserOrderBy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for UserOrderBy
impl Eq for UserOrderBy
impl StructuralPartialEq for UserOrderBy
Auto Trait Implementations§
impl Freeze for UserOrderBy
impl RefUnwindSafe for UserOrderBy
impl Send for UserOrderBy
impl Sync for UserOrderBy
impl Unpin for UserOrderBy
impl UnwindSafe for UserOrderBy
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.