Enum gitlab::api::projects::merge_requests::MergeRequestScope
source · #[non_exhaustive]pub enum MergeRequestScope {
CreatedByMe,
AssignedToMe,
All,
}
Expand description
Filter merge requests by a scope.
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.
CreatedByMe
Filter merge requests created by the API caller.
AssignedToMe
Filter merge requests assigned to the API caller.
All
Return all merge requests.
Trait Implementations§
source§impl Clone for MergeRequestScope
impl Clone for MergeRequestScope
source§fn clone(&self) -> MergeRequestScope
fn clone(&self) -> MergeRequestScope
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 MergeRequestScope
impl Debug for MergeRequestScope
source§impl ParamValue<'static> for MergeRequestScope
impl ParamValue<'static> for MergeRequestScope
source§impl PartialEq for MergeRequestScope
impl PartialEq for MergeRequestScope
source§fn eq(&self, other: &MergeRequestScope) -> bool
fn eq(&self, other: &MergeRequestScope) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MergeRequestScope
impl Eq for MergeRequestScope
impl StructuralEq for MergeRequestScope
impl StructuralPartialEq for MergeRequestScope
Auto Trait Implementations§
impl RefUnwindSafe for MergeRequestScope
impl Send for MergeRequestScope
impl Sync for MergeRequestScope
impl Unpin for MergeRequestScope
impl UnwindSafe for MergeRequestScope
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.