Enum gitlab::api::projects::merge_requests::notes::NoteOrderBy
source · #[non_exhaustive]pub enum NoteOrderBy {
CreatedAt,
UpdatedAt,
}
Expand description
Keys note 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.
Trait Implementations§
source§impl Clone for NoteOrderBy
impl Clone for NoteOrderBy
source§fn clone(&self) -> NoteOrderBy
fn clone(&self) -> NoteOrderBy
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 NoteOrderBy
impl Debug for NoteOrderBy
source§impl Default for NoteOrderBy
impl Default for NoteOrderBy
source§impl ParamValue<'static> for NoteOrderBy
impl ParamValue<'static> for NoteOrderBy
source§impl PartialEq for NoteOrderBy
impl PartialEq for NoteOrderBy
source§fn eq(&self, other: &NoteOrderBy) -> bool
fn eq(&self, other: &NoteOrderBy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NoteOrderBy
impl Eq for NoteOrderBy
impl StructuralEq for NoteOrderBy
impl StructuralPartialEq for NoteOrderBy
Auto Trait Implementations§
impl RefUnwindSafe for NoteOrderBy
impl Send for NoteOrderBy
impl Sync for NoteOrderBy
impl Unpin for NoteOrderBy
impl UnwindSafe for NoteOrderBy
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.