Enum gitlab::hooks::GitlabHook
[−]
[src]
pub enum GitlabHook { System(SystemHook), Web(WebHook), }
A deserializable structure for all Gitlab hooks.
Variants
System(SystemHook)
A system hook.
Web(WebHook)
A web hook from a specific project.
Trait Implementations
impl Debug for GitlabHook
[src]
impl Clone for GitlabHook
[src]
fn clone(&self) -> GitlabHook
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<'de> Deserialize<'de> for GitlabHook
[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