#[non_exhaustive]pub struct DescribeElasticIpsInput {
pub instance_id: Option<String>,
pub stack_id: Option<String>,
pub ips: Option<Vec<String>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.instance_id: Option<String>
The instance ID. If you include this parameter, DescribeElasticIps
returns a description of the Elastic IP addresses associated with the specified instance.
stack_id: Option<String>
A stack ID. If you include this parameter, DescribeElasticIps
returns a description of the Elastic IP addresses that are registered with the specified stack.
ips: Option<Vec<String>>
An array of Elastic IP addresses to be described. If you include this parameter, DescribeElasticIps
returns a description of the specified Elastic IP addresses. Otherwise, it returns a description of every Elastic IP address.
Implementations§
source§impl DescribeElasticIpsInput
impl DescribeElasticIpsInput
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The instance ID. If you include this parameter, DescribeElasticIps
returns a description of the Elastic IP addresses associated with the specified instance.
sourcepub fn stack_id(&self) -> Option<&str>
pub fn stack_id(&self) -> Option<&str>
A stack ID. If you include this parameter, DescribeElasticIps
returns a description of the Elastic IP addresses that are registered with the specified stack.
sourcepub fn ips(&self) -> &[String]
pub fn ips(&self) -> &[String]
An array of Elastic IP addresses to be described. If you include this parameter, DescribeElasticIps
returns a description of the specified Elastic IP addresses. Otherwise, it returns a description of every Elastic IP address.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .ips.is_none()
.
source§impl DescribeElasticIpsInput
impl DescribeElasticIpsInput
sourcepub fn builder() -> DescribeElasticIpsInputBuilder
pub fn builder() -> DescribeElasticIpsInputBuilder
Creates a new builder-style object to manufacture DescribeElasticIpsInput
.
Trait Implementations§
source§impl Clone for DescribeElasticIpsInput
impl Clone for DescribeElasticIpsInput
source§fn clone(&self) -> DescribeElasticIpsInput
fn clone(&self) -> DescribeElasticIpsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeElasticIpsInput
impl Debug for DescribeElasticIpsInput
source§impl PartialEq for DescribeElasticIpsInput
impl PartialEq for DescribeElasticIpsInput
source§fn eq(&self, other: &DescribeElasticIpsInput) -> bool
fn eq(&self, other: &DescribeElasticIpsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeElasticIpsInput
Auto Trait Implementations§
impl Freeze for DescribeElasticIpsInput
impl RefUnwindSafe for DescribeElasticIpsInput
impl Send for DescribeElasticIpsInput
impl Sync for DescribeElasticIpsInput
impl Unpin for DescribeElasticIpsInput
impl UnwindSafe for DescribeElasticIpsInput
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
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>
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>
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 more