pub struct CreateWebhookInput {
pub branch_filter: Option<String>,
pub filter_groups: Option<Vec<Vec<WebhookFilter>>>,
pub project_name: String,
}
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 which webhooks are triggered. At least one WebhookFilter
in the array must specify EVENT
as its type
.
For a build to be triggered, at least one filter group in the filterGroups
array must pass. For a filter group to pass, each of its filters must pass.
project_name: String
The name of the AWS CodeBuild project.
Trait Implementations§
Source§impl Clone for CreateWebhookInput
impl Clone for CreateWebhookInput
Source§fn clone(&self) -> CreateWebhookInput
fn clone(&self) -> CreateWebhookInput
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 CreateWebhookInput
impl Debug for CreateWebhookInput
Source§impl Default for CreateWebhookInput
impl Default for CreateWebhookInput
Source§fn default() -> CreateWebhookInput
fn default() -> CreateWebhookInput
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateWebhookInput
impl PartialEq for CreateWebhookInput
Source§impl Serialize for CreateWebhookInput
impl Serialize for CreateWebhookInput
impl StructuralPartialEq for CreateWebhookInput
Auto Trait Implementations§
impl Freeze for CreateWebhookInput
impl RefUnwindSafe for CreateWebhookInput
impl Send for CreateWebhookInput
impl Sync for CreateWebhookInput
impl Unpin for CreateWebhookInput
impl UnwindSafe for CreateWebhookInput
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