Enum gitlab::types::NoteType
[−]
[src]
pub enum NoteType { Commit, Issue, MergeRequest, Snippet, }
The entities a note may be added to.
Variants
Commit
A note on a commit.
Issue
A note on an issue.
MergeRequest
A note on a merge request.
Snippet
A note on a snippet.
Methods
impl NoteType
[src]
Trait Implementations
impl Debug for NoteType
[src]
impl Clone for NoteType
[src]
fn clone(&self) -> NoteType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for NoteType
[src]
impl PartialEq for NoteType
[src]
fn eq(&self, __arg_0: &NoteType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for NoteType
[src]
impl Serialize for NoteType
[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for NoteType
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more