pub struct DeveloperConnectEventConfig {
pub git_repository_link: Option<String>,
pub git_repository_link_type: Option<String>,
pub pull_request: Option<PullRequestFilter>,
pub push: Option<PushFilter>,
}Expand description
The configuration of a trigger that creates a build whenever an event from the DeveloperConnect API is received.
This type is not used in any activity, and only used as part of another schema.
Fields§
§git_repository_link: Option<String>Required. The Developer Connect Git repository link, formatted as projects/*/locations/*/connections/*/gitRepositoryLink/*.
git_repository_link_type: Option<String>Output only. The type of DeveloperConnect GitRepositoryLink.
pull_request: Option<PullRequestFilter>Filter to match changes in pull requests.
push: Option<PushFilter>Filter to match changes in refs like branches and tags.
Trait Implementations§
Source§impl Clone for DeveloperConnectEventConfig
impl Clone for DeveloperConnectEventConfig
Source§fn clone(&self) -> DeveloperConnectEventConfig
fn clone(&self) -> DeveloperConnectEventConfig
Returns a duplicate 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 DeveloperConnectEventConfig
impl Debug for DeveloperConnectEventConfig
Source§impl Default for DeveloperConnectEventConfig
impl Default for DeveloperConnectEventConfig
Source§fn default() -> DeveloperConnectEventConfig
fn default() -> DeveloperConnectEventConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeveloperConnectEventConfig
impl<'de> Deserialize<'de> for DeveloperConnectEventConfig
Source§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
impl Part for DeveloperConnectEventConfig
Auto Trait Implementations§
impl Freeze for DeveloperConnectEventConfig
impl RefUnwindSafe for DeveloperConnectEventConfig
impl Send for DeveloperConnectEventConfig
impl Sync for DeveloperConnectEventConfig
impl Unpin for DeveloperConnectEventConfig
impl UnwindSafe for DeveloperConnectEventConfig
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