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
id: HookId
The ID of the hook.
url: String
The URL to contact.
created_at: DateTime<Utc>
When the hook was created.
push_events: bool
Whether the hook is contacted for push events.
tag_push_events: bool
Whether the hook is contacted for tag push events.
enable_ssl_verification: bool
Whether the communication with the hook is verified using TLS certificates.
Trait Implementations
impl Debug for Hook[src]
impl Clone for Hook[src]
fn clone(&self) -> Hook[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl From<ProjectHook> for Hook[src]
fn from(hook: ProjectHook) -> Self[src]
Performs the conversion.