[][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 to be included in the trigger configuration. If you specify an empty array, the trigger applies to all branches.

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

custom_data: Option<String>

Any custom data associated with the trigger to 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 SNS).

events: Vec<String>

The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS.

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

name: String

The name of the trigger.

Trait Implementations

impl Clone for RepositoryTrigger[src]

impl Debug for RepositoryTrigger[src]

impl Default for RepositoryTrigger[src]

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

impl PartialEq<RepositoryTrigger> for RepositoryTrigger[src]

impl Serialize for RepositoryTrigger[src]

impl StructuralPartialEq for RepositoryTrigger[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.