Struct aws_sdk_codestarconnections::operation::get_resource_sync_status::GetResourceSyncStatusOutput
source · #[non_exhaustive]pub struct GetResourceSyncStatusOutput {
pub desired_state: Option<Revision>,
pub latest_successful_sync: Option<ResourceSyncAttempt>,
pub latest_sync: Option<ResourceSyncAttempt>,
/* private fields */
}
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.desired_state: Option<Revision>
The desired state of the Amazon Web Services resource for the sync status with the Git repository.
latest_successful_sync: Option<ResourceSyncAttempt>
The latest successful sync for the sync status with the Git repository.
latest_sync: Option<ResourceSyncAttempt>
The latest sync for the sync status with the Git repository, whether successful or not.
Implementations§
source§impl GetResourceSyncStatusOutput
impl GetResourceSyncStatusOutput
sourcepub fn desired_state(&self) -> Option<&Revision>
pub fn desired_state(&self) -> Option<&Revision>
The desired state of the Amazon Web Services resource for the sync status with the Git repository.
sourcepub fn latest_successful_sync(&self) -> Option<&ResourceSyncAttempt>
pub fn latest_successful_sync(&self) -> Option<&ResourceSyncAttempt>
The latest successful sync for the sync status with the Git repository.
sourcepub fn latest_sync(&self) -> Option<&ResourceSyncAttempt>
pub fn latest_sync(&self) -> Option<&ResourceSyncAttempt>
The latest sync for the sync status with the Git repository, whether successful or not.
source§impl GetResourceSyncStatusOutput
impl GetResourceSyncStatusOutput
sourcepub fn builder() -> GetResourceSyncStatusOutputBuilder
pub fn builder() -> GetResourceSyncStatusOutputBuilder
Creates a new builder-style object to manufacture GetResourceSyncStatusOutput
.
Trait Implementations§
source§impl Clone for GetResourceSyncStatusOutput
impl Clone for GetResourceSyncStatusOutput
source§fn clone(&self) -> GetResourceSyncStatusOutput
fn clone(&self) -> GetResourceSyncStatusOutput
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 GetResourceSyncStatusOutput
impl Debug for GetResourceSyncStatusOutput
source§impl PartialEq for GetResourceSyncStatusOutput
impl PartialEq for GetResourceSyncStatusOutput
source§fn eq(&self, other: &GetResourceSyncStatusOutput) -> bool
fn eq(&self, other: &GetResourceSyncStatusOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetResourceSyncStatusOutput
impl RequestId for GetResourceSyncStatusOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for GetResourceSyncStatusOutput
Auto Trait Implementations§
impl Freeze for GetResourceSyncStatusOutput
impl RefUnwindSafe for GetResourceSyncStatusOutput
impl Send for GetResourceSyncStatusOutput
impl Sync for GetResourceSyncStatusOutput
impl Unpin for GetResourceSyncStatusOutput
impl UnwindSafe for GetResourceSyncStatusOutput
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.