#[non_exhaustive]pub struct AddBridgeSourcesInput {
pub bridge_arn: Option<String>,
pub sources: Option<Vec<AddBridgeSourceRequest>>,
}
Expand description
A request to add sources to the specified bridge.
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.bridge_arn: Option<String>
The ARN of the bridge that you want to update.
sources: Option<Vec<AddBridgeSourceRequest>>
The sources that you want to add to this bridge.
Implementations§
source§impl AddBridgeSourcesInput
impl AddBridgeSourcesInput
sourcepub fn bridge_arn(&self) -> Option<&str>
pub fn bridge_arn(&self) -> Option<&str>
The ARN of the bridge that you want to update.
sourcepub fn sources(&self) -> &[AddBridgeSourceRequest]
pub fn sources(&self) -> &[AddBridgeSourceRequest]
The sources that you want to add to this bridge.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .sources.is_none()
.
source§impl AddBridgeSourcesInput
impl AddBridgeSourcesInput
sourcepub fn builder() -> AddBridgeSourcesInputBuilder
pub fn builder() -> AddBridgeSourcesInputBuilder
Creates a new builder-style object to manufacture AddBridgeSourcesInput
.
Trait Implementations§
source§impl Clone for AddBridgeSourcesInput
impl Clone for AddBridgeSourcesInput
source§fn clone(&self) -> AddBridgeSourcesInput
fn clone(&self) -> AddBridgeSourcesInput
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 AddBridgeSourcesInput
impl Debug for AddBridgeSourcesInput
source§impl PartialEq for AddBridgeSourcesInput
impl PartialEq for AddBridgeSourcesInput
source§fn eq(&self, other: &AddBridgeSourcesInput) -> bool
fn eq(&self, other: &AddBridgeSourcesInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AddBridgeSourcesInput
Auto Trait Implementations§
impl Freeze for AddBridgeSourcesInput
impl RefUnwindSafe for AddBridgeSourcesInput
impl Send for AddBridgeSourcesInput
impl Sync for AddBridgeSourcesInput
impl Unpin for AddBridgeSourcesInput
impl UnwindSafe for AddBridgeSourcesInput
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.