pub struct UpdateWebhookInput {
pub branch_filter: Option<String>,
pub filter_groups: Option<Vec<Vec<WebhookFilter>>>,
pub project_name: String,
pub rotate_secret: Option<bool>,
}
Fields§
§branch_filter: Option<String>
A regular expression used to determine which repository branches are built when a webhook is triggered. If the name of a branch matches the regular expression, then it is built. If branchFilter
is empty, then all branches are built.
It is recommended that you use filterGroups
instead of branchFilter
.
filter_groups: Option<Vec<Vec<WebhookFilter>>>
An array of arrays of WebhookFilter
objects used to determine if a webhook event can trigger a build. A filter group must contain at least one EVENT
WebhookFilter
.
project_name: String
The name of the AWS CodeBuild project.
rotate_secret: Option<bool>
A boolean value that specifies whether the associated GitHub repository's secret token should be updated. If you use Bitbucket for your repository, rotateSecret
is ignored.
Trait Implementations§
Source§impl Clone for UpdateWebhookInput
impl Clone for UpdateWebhookInput
Source§fn clone(&self) -> UpdateWebhookInput
fn clone(&self) -> UpdateWebhookInput
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UpdateWebhookInput
impl Debug for UpdateWebhookInput
Source§impl Default for UpdateWebhookInput
impl Default for UpdateWebhookInput
Source§fn default() -> UpdateWebhookInput
fn default() -> UpdateWebhookInput
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateWebhookInput
impl PartialEq for UpdateWebhookInput
Source§impl Serialize for UpdateWebhookInput
impl Serialize for UpdateWebhookInput
impl StructuralPartialEq for UpdateWebhookInput
Auto Trait Implementations§
impl Freeze for UpdateWebhookInput
impl RefUnwindSafe for UpdateWebhookInput
impl Send for UpdateWebhookInput
impl Sync for UpdateWebhookInput
impl Unpin for UpdateWebhookInput
impl UnwindSafe for UpdateWebhookInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more