Struct rusoto_lightsail::SetIpAddressTypeRequest
source · [−]pub struct SetIpAddressTypeRequest {
pub ip_address_type: String,
pub resource_name: String,
pub resource_type: String,
}
Fields
ip_address_type: String
The IP address type to set for the specified resource.
The possible values are ipv4
for IPv4 only, and dualstack
for IPv4 and IPv6.
resource_name: String
The name of the resource for which to set the IP address type.
resource_type: String
The resource type.
The possible values are Distribution
, Instance
, and LoadBalancer
.
Distribution-related APIs are available only in the N. Virginia (us-east-1
) AWS Region. Set your AWS Region configuration to us-east-1
to create, view, or edit distributions.
Trait Implementations
sourceimpl Clone for SetIpAddressTypeRequest
impl Clone for SetIpAddressTypeRequest
sourcefn clone(&self) -> SetIpAddressTypeRequest
fn clone(&self) -> SetIpAddressTypeRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SetIpAddressTypeRequest
impl Debug for SetIpAddressTypeRequest
sourceimpl Default for SetIpAddressTypeRequest
impl Default for SetIpAddressTypeRequest
sourcefn default() -> SetIpAddressTypeRequest
fn default() -> SetIpAddressTypeRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<SetIpAddressTypeRequest> for SetIpAddressTypeRequest
impl PartialEq<SetIpAddressTypeRequest> for SetIpAddressTypeRequest
sourcefn eq(&self, other: &SetIpAddressTypeRequest) -> bool
fn eq(&self, other: &SetIpAddressTypeRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SetIpAddressTypeRequest) -> bool
fn ne(&self, other: &SetIpAddressTypeRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for SetIpAddressTypeRequest
impl Serialize for SetIpAddressTypeRequest
impl StructuralPartialEq for SetIpAddressTypeRequest
Auto Trait Implementations
impl RefUnwindSafe for SetIpAddressTypeRequest
impl Send for SetIpAddressTypeRequest
impl Sync for SetIpAddressTypeRequest
impl Unpin for SetIpAddressTypeRequest
impl UnwindSafe for SetIpAddressTypeRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more