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: String
The ID for a specific sync blocker.
type: BlockerType
The sync blocker type.
status: BlockerStatus
The status for a specific sync blocker.
created_reason: String
The provided reason for a specific sync blocker.
created_at: DateTime
The 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 ==
.