Struct aws_sdk_codepipeline::types::CurrentRevision
source · #[non_exhaustive]pub struct CurrentRevision {
pub revision: Option<String>,
pub change_identifier: Option<String>,
pub created: Option<DateTime>,
pub revision_summary: Option<String>,
}
Expand description
Represents information about a current revision.
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.revision: Option<String>
The revision ID of the current version of an artifact.
change_identifier: Option<String>
The change identifier for the current revision.
created: Option<DateTime>
The date and time when the most recent revision of the artifact was created, in timestamp format.
revision_summary: Option<String>
The summary of the most recent revision of the artifact.
Implementations§
source§impl CurrentRevision
impl CurrentRevision
sourcepub fn change_identifier(&self) -> Option<&str>
pub fn change_identifier(&self) -> Option<&str>
The change identifier for the current revision.
sourcepub fn created(&self) -> Option<&DateTime>
pub fn created(&self) -> Option<&DateTime>
The date and time when the most recent revision of the artifact was created, in timestamp format.
sourcepub fn revision_summary(&self) -> Option<&str>
pub fn revision_summary(&self) -> Option<&str>
The summary of the most recent revision of the artifact.
source§impl CurrentRevision
impl CurrentRevision
sourcepub fn builder() -> CurrentRevisionBuilder
pub fn builder() -> CurrentRevisionBuilder
Creates a new builder-style object to manufacture CurrentRevision
.
Trait Implementations§
source§impl Clone for CurrentRevision
impl Clone for CurrentRevision
source§fn clone(&self) -> CurrentRevision
fn clone(&self) -> CurrentRevision
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 CurrentRevision
impl Debug for CurrentRevision
source§impl PartialEq<CurrentRevision> for CurrentRevision
impl PartialEq<CurrentRevision> for CurrentRevision
source§fn eq(&self, other: &CurrentRevision) -> bool
fn eq(&self, other: &CurrentRevision) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CurrentRevision
Auto Trait Implementations§
impl RefUnwindSafe for CurrentRevision
impl Send for CurrentRevision
impl Sync for CurrentRevision
impl Unpin for CurrentRevision
impl UnwindSafe for CurrentRevision
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