Struct aws_sdk_lexmodelsv2::types::BotReplicaSummary
source · #[non_exhaustive]pub struct BotReplicaSummary {
pub replica_region: Option<String>,
pub creation_date_time: Option<DateTime>,
pub bot_replica_status: Option<BotReplicaStatus>,
pub failure_reasons: Option<Vec<String>>,
}Expand description
Contains summary information about all the replication statuses applicable for global resiliency.
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.replica_region: Option<String>The replica region used in the replication statuses summary.
creation_date_time: Option<DateTime>The creation time and date for the replicated bots.
bot_replica_status: Option<BotReplicaStatus>The operation status for the replicated bot applicable.
failure_reasons: Option<Vec<String>>The reasons for the failure for the replicated bot.
Implementations§
source§impl BotReplicaSummary
impl BotReplicaSummary
sourcepub fn replica_region(&self) -> Option<&str>
pub fn replica_region(&self) -> Option<&str>
The replica region used in the replication statuses summary.
sourcepub fn creation_date_time(&self) -> Option<&DateTime>
pub fn creation_date_time(&self) -> Option<&DateTime>
The creation time and date for the replicated bots.
sourcepub fn bot_replica_status(&self) -> Option<&BotReplicaStatus>
pub fn bot_replica_status(&self) -> Option<&BotReplicaStatus>
The operation status for the replicated bot applicable.
sourcepub fn failure_reasons(&self) -> &[String]
pub fn failure_reasons(&self) -> &[String]
The reasons for the failure for the replicated bot.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .failure_reasons.is_none().
source§impl BotReplicaSummary
impl BotReplicaSummary
sourcepub fn builder() -> BotReplicaSummaryBuilder
pub fn builder() -> BotReplicaSummaryBuilder
Creates a new builder-style object to manufacture BotReplicaSummary.
Trait Implementations§
source§impl Clone for BotReplicaSummary
impl Clone for BotReplicaSummary
source§fn clone(&self) -> BotReplicaSummary
fn clone(&self) -> BotReplicaSummary
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 BotReplicaSummary
impl Debug for BotReplicaSummary
source§impl PartialEq for BotReplicaSummary
impl PartialEq for BotReplicaSummary
source§fn eq(&self, other: &BotReplicaSummary) -> bool
fn eq(&self, other: &BotReplicaSummary) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BotReplicaSummary
Auto Trait Implementations§
impl Freeze for BotReplicaSummary
impl RefUnwindSafe for BotReplicaSummary
impl Send for BotReplicaSummary
impl Sync for BotReplicaSummary
impl Unpin for BotReplicaSummary
impl UnwindSafe for BotReplicaSummary
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>
Creates a shared type from an unshared type.