Enum gitlab::types::EventTargetId [−][src]
pub enum EventTargetId {
Commit(ObjectId),
Issue(IssueId),
MergeRequest(MergeRequestId),
Snippet(SnippetId),
}Expand description
The ID of an event target.
Variants
Commit(ObjectId)The object ID of a commit event target.
Tuple Fields of Commit
0: ObjectIdIssue(IssueId)The ID of an issue event target.
Tuple Fields of Issue
0: IssueIdMergeRequest(MergeRequestId)The ID of a merge request event target.
Tuple Fields of MergeRequest
Snippet(SnippetId)The ID of a snippet event target.
Tuple Fields of Snippet
0: SnippetIdTrait 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 EventTargetId
impl Send for EventTargetId
impl Sync for EventTargetId
impl Unpin for EventTargetId
impl UnwindSafe for EventTargetId
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
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more