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,
}Expand description
A web hook to notify of events.
Fields
id: HookIdThe ID of the hook.
url: StringThe URL to contact.
created_at: DateTime<Utc>When the hook was created.
push_events: boolWhether the hook is contacted for push events.
tag_push_events: boolWhether the hook is contacted for tag push events.
enable_ssl_verification: boolWhether the communication with the hook is verified using TLS certificates.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Hook
impl UnwindSafe for Hook
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more