#[non_exhaustive]pub struct CreateBotReplicaInput {
pub bot_id: Option<String>,
pub replica_region: Option<String>,
}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.bot_id: Option<String>The request for the unique bot ID of the source bot to be replicated in the secondary region.
replica_region: Option<String>The request for the secondary region that will be used in the replication of the source bot.
Implementations§
source§impl CreateBotReplicaInput
impl CreateBotReplicaInput
sourcepub fn builder() -> CreateBotReplicaInputBuilder
pub fn builder() -> CreateBotReplicaInputBuilder
Creates a new builder-style object to manufacture CreateBotReplicaInput.
Trait Implementations§
source§impl Clone for CreateBotReplicaInput
impl Clone for CreateBotReplicaInput
source§fn clone(&self) -> CreateBotReplicaInput
fn clone(&self) -> CreateBotReplicaInput
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 CreateBotReplicaInput
impl Debug for CreateBotReplicaInput
source§impl PartialEq for CreateBotReplicaInput
impl PartialEq for CreateBotReplicaInput
source§fn eq(&self, other: &CreateBotReplicaInput) -> bool
fn eq(&self, other: &CreateBotReplicaInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateBotReplicaInput
Auto Trait Implementations§
impl Freeze for CreateBotReplicaInput
impl RefUnwindSafe for CreateBotReplicaInput
impl Send for CreateBotReplicaInput
impl Sync for CreateBotReplicaInput
impl Unpin for CreateBotReplicaInput
impl UnwindSafe for CreateBotReplicaInput
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.