Struct octorust::types::OrgsCreateWebhookRequest [−][src]
pub struct OrgsCreateWebhookRequest { pub active: Option<bool>, pub config: OrgsCreateWebhookRequestConfig, pub events: Vec<String>, pub name: String, }
Fields
active: Option<bool>
Determines if notifications are sent when the webhook is triggered. Set to true
to send notifications.
config: OrgsCreateWebhookRequestConfig
Key/value pairs to provide settings for this webhook. These are defined below.
events: Vec<String>
Determines what events the hook is triggered for.
name: String
Must be passed as “web”.
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
Auto Trait Implementations
impl RefUnwindSafe for OrgsCreateWebhookRequest
impl Send for OrgsCreateWebhookRequest
impl Sync for OrgsCreateWebhookRequest
impl Unpin for OrgsCreateWebhookRequest
impl UnwindSafe for OrgsCreateWebhookRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more