Struct aws_sdk_codestarconnections::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
Information about a blocker for a sync event.
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: StringThe ID for a specific sync blocker.
type: BlockerTypeThe sync blocker type.
status: BlockerStatusThe status for a specific sync blocker.
created_reason: StringThe provided reason for a specific sync blocker.
created_at: DateTimeThe creation time for a specific sync blocker.
contexts: Option<Vec<SyncBlockerContext>>The contexts for a specific sync blocker.
resolved_reason: Option<String>The resolved reason for a specific sync blocker.
resolved_at: Option<DateTime>The time that a specific sync blocker was resolved.
Implementations§
source§impl SyncBlocker
impl SyncBlocker
sourcepub fn type(&self) -> &BlockerType
pub fn type(&self) -> &BlockerType
The sync blocker type.
sourcepub fn status(&self) -> &BlockerStatus
pub fn status(&self) -> &BlockerStatus
The status for a specific sync blocker.
sourcepub fn created_reason(&self) -> &str
pub fn created_reason(&self) -> &str
The provided reason for a specific sync blocker.
sourcepub fn created_at(&self) -> &DateTime
pub fn created_at(&self) -> &DateTime
The creation time for a specific sync blocker.
sourcepub fn contexts(&self) -> &[SyncBlockerContext]
pub fn contexts(&self) -> &[SyncBlockerContext]
The contexts for a specific 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 resolved reason for a specific sync blocker.
sourcepub fn resolved_at(&self) -> Option<&DateTime>
pub fn resolved_at(&self) -> Option<&DateTime>
The time that a specific 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
source§fn eq(&self, other: &SyncBlocker) -> bool
fn eq(&self, other: &SyncBlocker) -> bool
self and other values to be equal, and is used
by ==.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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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