#[non_exhaustive]pub struct SourceRevisionOverride {
pub action_name: String,
pub revision_type: SourceRevisionType,
pub revision_value: String,
}
Expand description
A list that allows you to specify, or override, the source revision for a pipeline execution that's being started. A source revision is the version with all the changes to your application code, or source artifact, for the pipeline execution.
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.action_name: String
The name of the action where the override will be applied.
revision_type: SourceRevisionType
The type of source revision, based on the source provider. For example, the revision type for the CodeCommit action provider is the commit ID.
revision_value: String
The source revision, or version of your source artifact, with the changes that you want to run in the pipeline execution.
Implementations§
source§impl SourceRevisionOverride
impl SourceRevisionOverride
sourcepub fn action_name(&self) -> &str
pub fn action_name(&self) -> &str
The name of the action where the override will be applied.
sourcepub fn revision_type(&self) -> &SourceRevisionType
pub fn revision_type(&self) -> &SourceRevisionType
The type of source revision, based on the source provider. For example, the revision type for the CodeCommit action provider is the commit ID.
sourcepub fn revision_value(&self) -> &str
pub fn revision_value(&self) -> &str
The source revision, or version of your source artifact, with the changes that you want to run in the pipeline execution.
source§impl SourceRevisionOverride
impl SourceRevisionOverride
sourcepub fn builder() -> SourceRevisionOverrideBuilder
pub fn builder() -> SourceRevisionOverrideBuilder
Creates a new builder-style object to manufacture SourceRevisionOverride
.
Trait Implementations§
source§impl Clone for SourceRevisionOverride
impl Clone for SourceRevisionOverride
source§fn clone(&self) -> SourceRevisionOverride
fn clone(&self) -> SourceRevisionOverride
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SourceRevisionOverride
impl Debug for SourceRevisionOverride
source§impl PartialEq for SourceRevisionOverride
impl PartialEq for SourceRevisionOverride
source§fn eq(&self, other: &SourceRevisionOverride) -> bool
fn eq(&self, other: &SourceRevisionOverride) -> bool
self
and other
values to be equal, and is used
by ==
.