Struct gitlab::types::Hook [] [src]

pub struct Hook {
    pub id: HookId,
    pub url: String,
    pub created_at: DateTime<Utc>,
    pub push_events: bool,
    pub tag_push_events: bool,
    pub enable_ssl_verification: bool,
}

A web hook to notify of events.

Fields

The ID of the hook.

The URL to contact.

When the hook was created.

Whether the hook is contacted for push events.

Whether the hook is contacted for tag push events.

Whether the communication with the hook is verified using TLS certificates.

Trait Implementations

impl Debug for Hook
[src]

Formats the value using the given formatter.

impl Clone for Hook
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<ProjectHook> for Hook
[src]

Performs the conversion.