Enum gitlab::types::AwardableId [−][src]
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.
Tuple Fields of Issue
0: IssueIdMergeRequest(MergeRequestId)The ID of an awarded merge request.
Tuple Fields of MergeRequest
Snippet(SnippetId)The ID of an awarded snippet.
Tuple Fields of Snippet
0: SnippetIdNote(NoteId)The ID of an awarded note.
Tuple Fields of Note
0: NoteIdTrait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
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
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more