Struct aws_sdk_route53resolver::types::TargetAddress
source · #[non_exhaustive]pub struct TargetAddress {
pub ip: Option<String>,
pub port: Option<i32>,
pub ipv6: Option<String>,
}
Expand description
In a CreateResolverRule request, an array of the IPs that you want to forward DNS queries to.
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.ip: Option<String>
One IPv4 address that you want to forward DNS queries to.
port: Option<i32>
The port at Ip
that you want to forward DNS queries to.
ipv6: Option<String>
One IPv6 address that you want to forward DNS queries to.
Implementations§
source§impl TargetAddress
impl TargetAddress
source§impl TargetAddress
impl TargetAddress
sourcepub fn builder() -> TargetAddressBuilder
pub fn builder() -> TargetAddressBuilder
Creates a new builder-style object to manufacture TargetAddress
.
Trait Implementations§
source§impl Clone for TargetAddress
impl Clone for TargetAddress
source§fn clone(&self) -> TargetAddress
fn clone(&self) -> TargetAddress
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 TargetAddress
impl Debug for TargetAddress
source§impl PartialEq for TargetAddress
impl PartialEq for TargetAddress
source§fn eq(&self, other: &TargetAddress) -> bool
fn eq(&self, other: &TargetAddress) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TargetAddress
Auto Trait Implementations§
impl RefUnwindSafe for TargetAddress
impl Send for TargetAddress
impl Sync for TargetAddress
impl Unpin for TargetAddress
impl UnwindSafe for TargetAddress
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.