Struct aws_sdk_proton::types::SyncBlocker
source · #[non_exhaustive]pub struct SyncBlocker {
pub id: String,
pub type: BlockerType,
pub status: BlockerStatus,
pub created_reason: String,
pub created_at: DateTime,
pub contexts: Option<Vec<SyncBlockerContext>>,
pub resolved_reason: Option<String>,
pub resolved_at: Option<DateTime>,
}
Expand description
Detailed data of the sync blocker.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: String
The ID of the sync blocker.
type: BlockerType
The type of the sync blocker.
status: BlockerStatus
The status of the sync blocker.
created_reason: String
The reason why the sync blocker was created.
created_at: DateTime
The time when the sync blocker was created.
contexts: Option<Vec<SyncBlockerContext>>
The contexts for the sync blocker.
resolved_reason: Option<String>
The reason the sync blocker was resolved.
resolved_at: Option<DateTime>
The time the sync blocker was resolved.
Implementations§
source§impl SyncBlocker
impl SyncBlocker
sourcepub fn type(&self) -> &BlockerType
pub fn type(&self) -> &BlockerType
The type of the sync blocker.
sourcepub fn status(&self) -> &BlockerStatus
pub fn status(&self) -> &BlockerStatus
The status of the sync blocker.
sourcepub fn created_reason(&self) -> &str
pub fn created_reason(&self) -> &str
The reason why the sync blocker was created.
sourcepub fn created_at(&self) -> &DateTime
pub fn created_at(&self) -> &DateTime
The time when the sync blocker was created.
sourcepub fn contexts(&self) -> &[SyncBlockerContext]
pub fn contexts(&self) -> &[SyncBlockerContext]
The contexts for the sync blocker.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .contexts.is_none()
.
sourcepub fn resolved_reason(&self) -> Option<&str>
pub fn resolved_reason(&self) -> Option<&str>
The reason the sync blocker was resolved.
sourcepub fn resolved_at(&self) -> Option<&DateTime>
pub fn resolved_at(&self) -> Option<&DateTime>
The time the sync blocker was resolved.
source§impl SyncBlocker
impl SyncBlocker
sourcepub fn builder() -> SyncBlockerBuilder
pub fn builder() -> SyncBlockerBuilder
Creates a new builder-style object to manufacture SyncBlocker
.
Trait Implementations§
source§impl Clone for SyncBlocker
impl Clone for SyncBlocker
source§fn clone(&self) -> SyncBlocker
fn clone(&self) -> SyncBlocker
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SyncBlocker
impl Debug for SyncBlocker
source§impl PartialEq for SyncBlocker
impl PartialEq for SyncBlocker
impl StructuralPartialEq for SyncBlocker
Auto Trait Implementations§
impl Freeze for SyncBlocker
impl RefUnwindSafe for SyncBlocker
impl Send for SyncBlocker
impl Sync for SyncBlocker
impl Unpin for SyncBlocker
impl UnwindSafe for SyncBlocker
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
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>
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 more