Struct aws_sdk_codebuild::model::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
name
parameter 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
context
parameter 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
url
parameter 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_url
parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
Implementations
sourceimpl 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
name
parameter 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
context
parameter 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
url
parameter 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_url
parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
sourceimpl BuildStatusConfig
impl BuildStatusConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture BuildStatusConfig
Trait Implementations
sourceimpl Clone for BuildStatusConfig
impl Clone for BuildStatusConfig
sourcefn clone(&self) -> BuildStatusConfig
fn clone(&self) -> BuildStatusConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BuildStatusConfig
impl Debug for BuildStatusConfig
sourceimpl PartialEq<BuildStatusConfig> for BuildStatusConfig
impl PartialEq<BuildStatusConfig> for BuildStatusConfig
sourcefn eq(&self, other: &BuildStatusConfig) -> bool
fn eq(&self, other: &BuildStatusConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BuildStatusConfig) -> bool
fn ne(&self, other: &BuildStatusConfig) -> bool
This method tests for !=
.
impl StructuralPartialEq for BuildStatusConfig
Auto Trait Implementations
impl RefUnwindSafe for BuildStatusConfig
impl Send for BuildStatusConfig
impl Sync for BuildStatusConfig
impl Unpin for BuildStatusConfig
impl UnwindSafe for BuildStatusConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more