Enum gitlab::types::EventTargetId
source · pub enum EventTargetId {
Commit(ObjectId),
Issue(IssueId),
MergeRequest(MergeRequestId),
Snippet(SnippetId),
}
👎Deprecated since 0.1609.0: define deserialization types in client code
Expand description
The ID of an event target.
Variants§
Commit(ObjectId)
👎Deprecated since 0.1609.0: define deserialization types in client code
The object ID of a commit event target.
Issue(IssueId)
👎Deprecated since 0.1609.0: define deserialization types in client code
The ID of an issue event target.
MergeRequest(MergeRequestId)
👎Deprecated since 0.1609.0: define deserialization types in client code
The ID of a merge request event target.
Snippet(SnippetId)
👎Deprecated since 0.1609.0: define deserialization types in client code
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 Freeze for EventTargetId
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.