Enum gitlab::types::EventTargetId
source · 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.
Issue(IssueId)
The ID of an issue event target.
MergeRequest(MergeRequestId)
The ID of a merge request event target.
Snippet(SnippetId)
The ID of a snippet event target.
Trait Implementations§
source§impl Clone for EventTargetId
impl Clone for EventTargetId
source§fn clone(&self) -> EventTargetId
fn clone(&self) -> EventTargetId
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 EventTargetId
impl Debug for EventTargetId
source§impl PartialEq for EventTargetId
impl PartialEq for EventTargetId
source§fn eq(&self, other: &EventTargetId) -> bool
fn eq(&self, other: &EventTargetId) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for EventTargetId
impl StructuralPartialEq for EventTargetId
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§
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.