pub struct SourceRevision {
pub action_name: String,
pub revision_id: Option<String>,
pub revision_summary: Option<String>,
pub revision_url: Option<String>,
}
Expand description
Information about the version (or revision) of a source artifact that initiated a pipeline execution.
Fields§
§action_name: String
The name of the action that processed the revision to the source artifact.
revision_id: Option<String>
The system-generated unique ID that identifies the revision number of the artifact.
revision_summary: Option<String>
Summary information about the most recent revision of the artifact. For GitHub and AWS CodeCommit repositories, the commit message. For Amazon S3 buckets or actions, the user-provided content of a codepipeline-artifact-revision-summary
key specified in the object metadata.
revision_url: Option<String>
The commit ID for the artifact revision. For artifacts stored in GitHub or AWS CodeCommit repositories, the commit ID is linked to a commit details page.
Trait Implementations§
Source§impl Clone for SourceRevision
impl Clone for SourceRevision
Source§fn clone(&self) -> SourceRevision
fn clone(&self) -> SourceRevision
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SourceRevision
impl Debug for SourceRevision
Source§impl Default for SourceRevision
impl Default for SourceRevision
Source§fn default() -> SourceRevision
fn default() -> SourceRevision
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SourceRevision
impl<'de> Deserialize<'de> for SourceRevision
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SourceRevision
impl PartialEq for SourceRevision
impl StructuralPartialEq for SourceRevision
Auto Trait Implementations§
impl Freeze for SourceRevision
impl RefUnwindSafe for SourceRevision
impl Send for SourceRevision
impl Sync for SourceRevision
impl Unpin for SourceRevision
impl UnwindSafe for SourceRevision
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