Struct aws_sdk_route53resolver::types::IpAddressRequest
source · #[non_exhaustive]pub struct IpAddressRequest {
pub subnet_id: String,
pub ip: Option<String>,
pub ipv6: Option<String>,
}
Expand description
In a CreateResolverEndpoint request, the IP address that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints). IpAddressRequest
also includes the ID of the subnet that contains the IP address.
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.subnet_id: String
The ID of the subnet that contains the IP address.
ip: Option<String>
The IPv4 address that you want to use for DNS queries.
ipv6: Option<String>
The IPv6 address that you want to use for DNS queries.
Implementations§
source§impl IpAddressRequest
impl IpAddressRequest
sourcepub fn builder() -> IpAddressRequestBuilder
pub fn builder() -> IpAddressRequestBuilder
Creates a new builder-style object to manufacture IpAddressRequest
.
Trait Implementations§
source§impl Clone for IpAddressRequest
impl Clone for IpAddressRequest
source§fn clone(&self) -> IpAddressRequest
fn clone(&self) -> IpAddressRequest
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 IpAddressRequest
impl Debug for IpAddressRequest
source§impl PartialEq for IpAddressRequest
impl PartialEq for IpAddressRequest
source§fn eq(&self, other: &IpAddressRequest) -> bool
fn eq(&self, other: &IpAddressRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IpAddressRequest
Auto Trait Implementations§
impl RefUnwindSafe for IpAddressRequest
impl Send for IpAddressRequest
impl Sync for IpAddressRequest
impl Unpin for IpAddressRequest
impl UnwindSafe for IpAddressRequest
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.