Struct aws_sdk_codepipeline::types::CurrentRevision
source · #[non_exhaustive]pub struct CurrentRevision {
pub revision: String,
pub change_identifier: 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: String
The revision ID of the current version of an artifact.
change_identifier: 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) -> &str
pub fn change_identifier(&self) -> &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 for CurrentRevision
impl PartialEq 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 Freeze for CurrentRevision
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.