Struct aws_sdk_mq::types::DataReplicationCounterpart
source · #[non_exhaustive]pub struct DataReplicationCounterpart {
pub broker_id: Option<String>,
pub region: Option<String>,
}
Expand description
Specifies a broker in a data replication pair.
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.broker_id: Option<String>
Required. The unique broker id generated by Amazon MQ.
region: Option<String>
Required. The region of the broker.
Implementations§
source§impl DataReplicationCounterpart
impl DataReplicationCounterpart
sourcepub fn builder() -> DataReplicationCounterpartBuilder
pub fn builder() -> DataReplicationCounterpartBuilder
Creates a new builder-style object to manufacture DataReplicationCounterpart
.
Trait Implementations§
source§impl Clone for DataReplicationCounterpart
impl Clone for DataReplicationCounterpart
source§fn clone(&self) -> DataReplicationCounterpart
fn clone(&self) -> DataReplicationCounterpart
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 DataReplicationCounterpart
impl Debug for DataReplicationCounterpart
source§impl PartialEq for DataReplicationCounterpart
impl PartialEq for DataReplicationCounterpart
source§fn eq(&self, other: &DataReplicationCounterpart) -> bool
fn eq(&self, other: &DataReplicationCounterpart) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataReplicationCounterpart
Auto Trait Implementations§
impl Freeze for DataReplicationCounterpart
impl RefUnwindSafe for DataReplicationCounterpart
impl Send for DataReplicationCounterpart
impl Sync for DataReplicationCounterpart
impl Unpin for DataReplicationCounterpart
impl UnwindSafe for DataReplicationCounterpart
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.