Struct octorust::types::ReposUpdateWebhookRequest [−][src]
pub struct ReposUpdateWebhookRequest { pub active: bool, pub add_events: Vec<String>, pub config: Option<ReposUpdateWebhookRequestConfig>, pub events: Vec<String>, pub remove_events: Vec<String>, }
Fields
active: bool
Determines if notifications are sent when the webhook is triggered. Set to true
to send notifications.
add_events: Vec<String>
Determines a list of events to be added to the list of events that the Hook triggers for.
config: Option<ReposUpdateWebhookRequestConfig>
Key/value pairs to provide settings for this webhook. These are defined below.
events: Vec<String>
Determines what events the hook is triggered for. This replaces the entire array of events.
remove_events: Vec<String>
Determines a list of events to be removed from the list of events that the Hook triggers for.
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 ReposUpdateWebhookRequest
impl Send for ReposUpdateWebhookRequest
impl Sync for ReposUpdateWebhookRequest
impl Unpin for ReposUpdateWebhookRequest
impl UnwindSafe for ReposUpdateWebhookRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more