pub struct BitbucketServerTriggerConfig {
pub bitbucket_server_config: Option<BitbucketServerConfig>,
pub bitbucket_server_config_resource: Option<String>,
pub project_key: Option<String>,
pub pull_request: Option<PullRequestFilter>,
pub push: Option<PushFilter>,
pub repo_slug: Option<String>,
}Expand description
BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received.
This type is not used in any activity, and only used as part of another schema.
Fields§
§bitbucket_server_config: Option<BitbucketServerConfig>Output only. The BitbucketServerConfig specified in the bitbucket_server_config_resource field.
bitbucket_server_config_resource: Option<String>Required. The Bitbucket server config resource that this trigger config maps to.
project_key: Option<String>Required. Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is “TEST”.
pull_request: Option<PullRequestFilter>Filter to match changes in pull requests.
push: Option<PushFilter>Filter to match changes in refs like branches, tags.
repo_slug: Option<String>Required. Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL. For example, if the repository name is ‘test repo’, in the URL it would become ‘test-repo’ as in https://mybitbucket.server/projects/TEST/repos/test-repo.
Trait Implementations§
Source§impl Clone for BitbucketServerTriggerConfig
impl Clone for BitbucketServerTriggerConfig
Source§fn clone(&self) -> BitbucketServerTriggerConfig
fn clone(&self) -> BitbucketServerTriggerConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more