Enum gitlab::hooks::GitlabHook [] [src]

pub enum GitlabHook {
    System(SystemHook),
    Web(WebHook),
}

A deserializable structure for all Gitlab hooks.

Variants

A system hook.

A web hook from a specific project.

Trait Implementations

impl Debug for GitlabHook
[src]

Formats the value using the given formatter.

impl Clone for GitlabHook
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Deserialize for GitlabHook
[src]

Deserialize this value from the given Serde deserializer. Read more