Enum gitlab::types::AwardableId
source · pub enum AwardableId {
Issue(IssueId),
MergeRequest(MergeRequestId),
Snippet(SnippetId),
Note(NoteId),
}Expand description
An ID of an entity which may receive an award.
Variants§
Issue(IssueId)
The ID of an awarded issue.
MergeRequest(MergeRequestId)
The ID of an awarded merge request.
Snippet(SnippetId)
The ID of an awarded snippet.
Note(NoteId)
The ID of an awarded note.
Trait Implementations§
source§impl Clone for AwardableId
impl Clone for AwardableId
source§fn clone(&self) -> AwardableId
fn clone(&self) -> AwardableId
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 AwardableId
impl Debug for AwardableId
source§impl PartialEq<AwardableId> for AwardableId
impl PartialEq<AwardableId> for AwardableId
source§fn eq(&self, other: &AwardableId) -> bool
fn eq(&self, other: &AwardableId) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for AwardableId
impl Eq for AwardableId
impl StructuralEq for AwardableId
impl StructuralPartialEq for AwardableId
Auto Trait Implementations§
impl RefUnwindSafe for AwardableId
impl Send for AwardableId
impl Sync for AwardableId
impl Unpin for AwardableId
impl UnwindSafe for AwardableId
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.