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