#[non_exhaustive]pub struct GetTemplateSyncStatusOutput {
pub latest_sync: Option<ResourceSyncAttempt>,
pub latest_successful_sync: Option<ResourceSyncAttempt>,
pub desired_state: Option<Revision>,
/* 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.latest_sync: Option<ResourceSyncAttempt>
The details of the last sync that's returned by Proton.
latest_successful_sync: Option<ResourceSyncAttempt>
The details of the last successful sync that's returned by Proton.
desired_state: Option<Revision>
The template sync desired state that's returned by Proton.
Implementations§
source§impl GetTemplateSyncStatusOutput
impl GetTemplateSyncStatusOutput
sourcepub fn latest_sync(&self) -> Option<&ResourceSyncAttempt>
pub fn latest_sync(&self) -> Option<&ResourceSyncAttempt>
The details of the last sync that's returned by Proton.
sourcepub fn latest_successful_sync(&self) -> Option<&ResourceSyncAttempt>
pub fn latest_successful_sync(&self) -> Option<&ResourceSyncAttempt>
The details of the last successful sync that's returned by Proton.
sourcepub fn desired_state(&self) -> Option<&Revision>
pub fn desired_state(&self) -> Option<&Revision>
The template sync desired state that's returned by Proton.
source§impl GetTemplateSyncStatusOutput
impl GetTemplateSyncStatusOutput
sourcepub fn builder() -> GetTemplateSyncStatusOutputBuilder
pub fn builder() -> GetTemplateSyncStatusOutputBuilder
Creates a new builder-style object to manufacture GetTemplateSyncStatusOutput
.
Trait Implementations§
source§impl Clone for GetTemplateSyncStatusOutput
impl Clone for GetTemplateSyncStatusOutput
source§fn clone(&self) -> GetTemplateSyncStatusOutput
fn clone(&self) -> GetTemplateSyncStatusOutput
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 GetTemplateSyncStatusOutput
impl Debug for GetTemplateSyncStatusOutput
source§impl PartialEq for GetTemplateSyncStatusOutput
impl PartialEq for GetTemplateSyncStatusOutput
source§fn eq(&self, other: &GetTemplateSyncStatusOutput) -> bool
fn eq(&self, other: &GetTemplateSyncStatusOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetTemplateSyncStatusOutput
impl RequestId for GetTemplateSyncStatusOutput
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 GetTemplateSyncStatusOutput
Auto Trait Implementations§
impl RefUnwindSafe for GetTemplateSyncStatusOutput
impl Send for GetTemplateSyncStatusOutput
impl Sync for GetTemplateSyncStatusOutput
impl Unpin for GetTemplateSyncStatusOutput
impl UnwindSafe for GetTemplateSyncStatusOutput
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