pub struct BitbucketCloud;Expand description
Bitbucket Cloud Pipelines integration.
Trait Implementations§
Source§impl CloudBuild for BitbucketCloud
impl CloudBuild for BitbucketCloud
Source§fn is_applicable(&self) -> bool
fn is_applicable(&self) -> bool
Returns whether this provider recognizes the current environment.
Source§fn is_pull_request(&self) -> bool
fn is_pull_request(&self) -> bool
Returns whether the current build validates a pull request.
Source§fn building_branch(&self) -> Option<String>
fn building_branch(&self) -> Option<String>
Returns the fully qualified branch ref being built, when known.
Source§fn building_tag(&self) -> Option<String>
fn building_tag(&self) -> Option<String>
Returns the fully qualified tag ref being built, when known.
Source§fn git_commit_id(&self) -> Option<String>
fn git_commit_id(&self) -> Option<String>
Returns the Git commit ID being built, when supplied by the provider.
Source§fn set_cloud_build_number(
&self,
_build_number: &str,
_stdout: &mut dyn Write,
_stderr: &mut dyn Write,
) -> Result<EnvironmentVariables>
fn set_cloud_build_number( &self, _build_number: &str, _stdout: &mut dyn Write, _stderr: &mut dyn Write, ) -> Result<EnvironmentVariables>
Updates the provider’s build number and returns environment changes for the caller.
Source§fn set_cloud_build_variable(
&self,
_name: &str,
_value: &str,
_stdout: &mut dyn Write,
_stderr: &mut dyn Write,
) -> Result<EnvironmentVariables>
fn set_cloud_build_variable( &self, _name: &str, _value: &str, _stdout: &mut dyn Write, _stderr: &mut dyn Write, ) -> Result<EnvironmentVariables>
Sets a provider variable and returns environment changes for the caller.
Auto Trait Implementations§
impl Freeze for BitbucketCloud
impl RefUnwindSafe for BitbucketCloud
impl Send for BitbucketCloud
impl Sync for BitbucketCloud
impl Unpin for BitbucketCloud
impl UnsafeUnpin for BitbucketCloud
impl UnwindSafe for BitbucketCloud
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