Enum gitlab::types::EventTargetType
[−]
[src]
pub enum EventTargetType { Commit, Issue, MergeRequest, Snippet, ProjectSnippet, }
The target of an event.
Variants
Commit
An event targeted a commit.
Issue
An event targeted an issue.
MergeRequest
An event targeted a merge request.
Snippet
An event targeted a snippet.
ProjectSnippet
An event targeted a project snippet.
Methods
impl EventTargetType
[src]
Trait Implementations
impl Debug for EventTargetType
[src]
impl Clone for EventTargetType
[src]
fn clone(&self) -> EventTargetType
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 EventTargetType
[src]
impl PartialEq for EventTargetType
[src]
fn eq(&self, __arg_0: &EventTargetType) -> 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 EventTargetType
[src]
impl Serialize for EventTargetType
[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where S: Serializer
Serialize this value into the given Serde serializer. Read more
impl Deserialize for EventTargetType
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where D: Deserializer
Deserialize this value from the given Serde deserializer. Read more