Enum gitlab::types::NoteableInternalId
source · pub enum NoteableInternalId {
Issue(IssueInternalId),
MergeRequest(MergeRequestInternalId),
}
👎Deprecated since 0.1609.0: define deserialization types in client code
Expand description
The internal ID of an entity a note is attached to (internal to a project). GitLab only has this for notes attached to issues and merge requests.
Variants§
Issue(IssueInternalId)
👎Deprecated since 0.1609.0: define deserialization types in client code
The internal ID of the issue for an issue note.
MergeRequest(MergeRequestInternalId)
👎Deprecated since 0.1609.0: define deserialization types in client code
The internal ID of the merge request for a merge request note.
Trait Implementations§
source§impl Clone for NoteableInternalId
impl Clone for NoteableInternalId
source§fn clone(&self) -> NoteableInternalId
fn clone(&self) -> NoteableInternalId
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 NoteableInternalId
impl Debug for NoteableInternalId
source§impl PartialEq for NoteableInternalId
impl PartialEq for NoteableInternalId
source§fn eq(&self, other: &NoteableInternalId) -> bool
fn eq(&self, other: &NoteableInternalId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for NoteableInternalId
impl StructuralPartialEq for NoteableInternalId
Auto Trait Implementations§
impl Freeze for NoteableInternalId
impl RefUnwindSafe for NoteableInternalId
impl Send for NoteableInternalId
impl Sync for NoteableInternalId
impl Unpin for NoteableInternalId
impl UnwindSafe for NoteableInternalId
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.