Enum gitlab::types::DiscussionNoteType
source · pub enum DiscussionNoteType {
Note,
DiscussionNote,
DiffNote,
}
Expand description
The various types a note can have
Variants§
Note
A note in a discussion
DiscussionNote
A note in a standard discussion
DiffNote
A note attached to a diff
Trait Implementations§
source§impl Clone for DiscussionNoteType
impl Clone for DiscussionNoteType
source§fn clone(&self) -> DiscussionNoteType
fn clone(&self) -> DiscussionNoteType
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 DiscussionNoteType
impl Debug for DiscussionNoteType
source§impl<'de> Deserialize<'de> for DiscussionNoteType
impl<'de> Deserialize<'de> for DiscussionNoteType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<DiscussionNoteType> for DiscussionNoteType
impl PartialEq<DiscussionNoteType> for DiscussionNoteType
source§fn eq(&self, other: &DiscussionNoteType) -> bool
fn eq(&self, other: &DiscussionNoteType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DiscussionNoteType
impl Serialize for DiscussionNoteType
impl Copy for DiscussionNoteType
impl Eq for DiscussionNoteType
impl StructuralEq for DiscussionNoteType
impl StructuralPartialEq for DiscussionNoteType
Auto Trait Implementations§
impl RefUnwindSafe for DiscussionNoteType
impl Send for DiscussionNoteType
impl Sync for DiscussionNoteType
impl Unpin for DiscussionNoteType
impl UnwindSafe for DiscussionNoteType
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.