[][src]Struct rusoto_codecommit::RepositoryTrigger

pub struct RepositoryTrigger {
    pub branches: Option<Vec<String>>,
    pub custom_data: Option<String>,
    pub destination_arn: String,
    pub events: Vec<String>,
    pub name: String,
}

Information about a trigger for a repository.

Fields

branches: Option<Vec<String>>

The branches that will be included in the trigger configuration. If you specify an empty array, the trigger will apply to all branches.

While no content is required in the array, you must include the array itself.

custom_data: Option<String>

Any custom data associated with the trigger that will be included in the information sent to the target of the trigger.

destination_arn: String

The ARN of the resource that is the target for a trigger. For example, the ARN of a topic in Amazon Simple Notification Service (SNS).

events: Vec<String>

The repository events that will cause the trigger to run actions in another service, such as sending a notification through Amazon Simple Notification Service (SNS).

The valid value "all" cannot be used with any other values.

name: String

The name of the trigger.

Trait Implementations

impl PartialEq<RepositoryTrigger> for RepositoryTrigger[src]

impl Default for RepositoryTrigger[src]

impl Clone for RepositoryTrigger[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for RepositoryTrigger[src]

impl Serialize for RepositoryTrigger[src]

impl<'de> Deserialize<'de> for RepositoryTrigger[src]

Auto Trait Implementations

impl Send for RepositoryTrigger

impl Sync for RepositoryTrigger

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self