Struct aws_sdk_codebuild::types::BuildStatusConfig
source · #[non_exhaustive]pub struct BuildStatusConfig {
pub context: Option<String>,
pub target_url: Option<String>,
}Expand description
Contains information that defines how the CodeBuild build project reports the build status to the source provider.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.context: Option<String>Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
- Bitbucket
-
This parameter is used for the
nameparameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation. - GitHub/GitHub Enterprise Server
-
This parameter is used for the
contextparameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
target_url: Option<String>Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
- Bitbucket
-
This parameter is used for the
urlparameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation. - GitHub/GitHub Enterprise Server
-
This parameter is used for the
target_urlparameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
Implementations§
source§impl BuildStatusConfig
impl BuildStatusConfig
sourcepub fn context(&self) -> Option<&str>
pub fn context(&self) -> Option<&str>
Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
- Bitbucket
-
This parameter is used for the
nameparameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation. - GitHub/GitHub Enterprise Server
-
This parameter is used for the
contextparameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
sourcepub fn target_url(&self) -> Option<&str>
pub fn target_url(&self) -> Option<&str>
Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
- Bitbucket
-
This parameter is used for the
urlparameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation. - GitHub/GitHub Enterprise Server
-
This parameter is used for the
target_urlparameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
source§impl BuildStatusConfig
impl BuildStatusConfig
sourcepub fn builder() -> BuildStatusConfigBuilder
pub fn builder() -> BuildStatusConfigBuilder
Creates a new builder-style object to manufacture BuildStatusConfig.
Trait Implementations§
source§impl Clone for BuildStatusConfig
impl Clone for BuildStatusConfig
source§fn clone(&self) -> BuildStatusConfig
fn clone(&self) -> BuildStatusConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BuildStatusConfig
impl Debug for BuildStatusConfig
source§impl PartialEq for BuildStatusConfig
impl PartialEq for BuildStatusConfig
source§fn eq(&self, other: &BuildStatusConfig) -> bool
fn eq(&self, other: &BuildStatusConfig) -> bool
self and other values to be equal, and is used
by ==.