Enum gitlab::types::NoteableId
source · pub enum NoteableId {
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 entity a note is attached to.
Variants§
Commit(ObjectId)
👎Deprecated since 0.1609.0: define deserialization types in client code
The ID of the commit for a commit note.
Issue(IssueId)
👎Deprecated since 0.1609.0: define deserialization types in client code
The ID of the issue for an issue note.
MergeRequest(MergeRequestId)
👎Deprecated since 0.1609.0: define deserialization types in client code
The ID of the merge request for a merge request note.
Snippet(SnippetId)
👎Deprecated since 0.1609.0: define deserialization types in client code
The ID of the snippet for a snippet note.
Trait Implementations§
source§impl Clone for NoteableId
impl Clone for NoteableId
source§fn clone(&self) -> NoteableId
fn clone(&self) -> NoteableId
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 NoteableId
impl Debug for NoteableId
source§impl PartialEq for NoteableId
impl PartialEq for NoteableId
source§fn eq(&self, other: &NoteableId) -> bool
fn eq(&self, other: &NoteableId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for NoteableId
impl StructuralPartialEq for NoteableId
Auto Trait Implementations§
impl Freeze for NoteableId
impl RefUnwindSafe for NoteableId
impl Send for NoteableId
impl Sync for NoteableId
impl Unpin for NoteableId
impl UnwindSafe for NoteableId
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.