Enum gitlab::systemhooks::PushEvent[][src]

pub enum PushEvent {
    Push,
    TagPush,
}

Events which occur when a push happens.

Variants

A non-tag push occurred.

A tag was pushed.

Methods

impl PushEvent
[src]

String representation of the variant.

Trait Implementations

impl Debug for PushEvent
[src]

Formats the value using the given formatter. Read more

impl Clone for PushEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for PushEvent
[src]

impl PartialEq for PushEvent
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for PushEvent
[src]

impl Serialize for PushEvent
[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for PushEvent
[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for PushEvent

impl Sync for PushEvent