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 moreSource§impl Debug for BitbucketServerTriggerConfig
impl Debug for BitbucketServerTriggerConfig
Source§impl Default for BitbucketServerTriggerConfig
impl Default for BitbucketServerTriggerConfig
Source§fn default() -> BitbucketServerTriggerConfig
fn default() -> BitbucketServerTriggerConfig
Source§impl<'de> Deserialize<'de> for BitbucketServerTriggerConfig
impl<'de> Deserialize<'de> for BitbucketServerTriggerConfig
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>,
impl Part for BitbucketServerTriggerConfig
Auto Trait Implementations§
impl Freeze for BitbucketServerTriggerConfig
impl RefUnwindSafe for BitbucketServerTriggerConfig
impl Send for BitbucketServerTriggerConfig
impl Sync for BitbucketServerTriggerConfig
impl Unpin for BitbucketServerTriggerConfig
impl UnwindSafe for BitbucketServerTriggerConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more