Struct aws_sdk_codepipeline::types::Artifact
source · #[non_exhaustive]pub struct Artifact {
pub name: Option<String>,
pub revision: Option<String>,
pub location: Option<ArtifactLocation>,
}
Expand description
Artifacts are the files that are worked on by actions in the pipeline. See the action configuration for each action for details about artifact parameters. For example, the S3 source action artifact is a file name (or file path), and the files are generally provided as a ZIP file. Example artifact name: SampleApp_Windows.zip
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The artifact's name.
revision: Option<String>
The artifact's revision ID. Depending on the type of object, this could be a commit ID (GitHub) or a revision ID (Amazon S3).
location: Option<ArtifactLocation>
The location of an artifact.
Implementations§
Trait Implementations§
source§impl PartialEq<Artifact> for Artifact
impl PartialEq<Artifact> for Artifact
impl StructuralPartialEq for Artifact
Auto Trait Implementations§
impl RefUnwindSafe for Artifact
impl Send for Artifact
impl Sync for Artifact
impl Unpin for Artifact
impl UnwindSafe for Artifact
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