Struct rusoto_securityhub::AwsEc2SubnetDetails
source · [−]pub struct AwsEc2SubnetDetails {Show 13 fields
pub assign_ipv_6_address_on_creation: Option<bool>,
pub availability_zone: Option<String>,
pub availability_zone_id: Option<String>,
pub available_ip_address_count: Option<i64>,
pub cidr_block: Option<String>,
pub default_for_az: Option<bool>,
pub ipv_6_cidr_block_association_set: Option<Vec<Ipv6CidrBlockAssociation>>,
pub map_public_ip_on_launch: Option<bool>,
pub owner_id: Option<String>,
pub state: Option<String>,
pub subnet_arn: Option<String>,
pub subnet_id: Option<String>,
pub vpc_id: Option<String>,
}
Expand description
Contains information about a subnet in EC2.
Fields
assign_ipv_6_address_on_creation: Option<bool>
Whether to assign an IPV6 address to a network interface that is created in this subnet.
availability_zone: Option<String>
The Availability Zone for the subnet.
availability_zone_id: Option<String>
The identifier of the Availability Zone for the subnet.
available_ip_address_count: Option<i64>
The number of available IPV4 addresses in the subnet. Does not include addresses for stopped instances.
cidr_block: Option<String>
The IPV4 CIDR block that is assigned to the subnet.
default_for_az: Option<bool>
Whether this subnet is the default subnet for the Availability Zone.
ipv_6_cidr_block_association_set: Option<Vec<Ipv6CidrBlockAssociation>>
The IPV6 CIDR blocks that are associated with the subnet.
map_public_ip_on_launch: Option<bool>
Whether instances in this subnet receive a public IP address.
owner_id: Option<String>
The identifier of the AWS account that owns the subnet.
state: Option<String>
The current state of the subnet.
subnet_arn: Option<String>
The ARN of the subnet.
subnet_id: Option<String>
The identifier of the subnet.
vpc_id: Option<String>
The identifier of the VPC that contains the subnet.
Trait Implementations
sourceimpl Clone for AwsEc2SubnetDetails
impl Clone for AwsEc2SubnetDetails
sourcefn clone(&self) -> AwsEc2SubnetDetails
fn clone(&self) -> AwsEc2SubnetDetails
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 AwsEc2SubnetDetails
impl Debug for AwsEc2SubnetDetails
sourceimpl Default for AwsEc2SubnetDetails
impl Default for AwsEc2SubnetDetails
sourcefn default() -> AwsEc2SubnetDetails
fn default() -> AwsEc2SubnetDetails
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AwsEc2SubnetDetails
impl<'de> Deserialize<'de> for AwsEc2SubnetDetails
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<AwsEc2SubnetDetails> for AwsEc2SubnetDetails
impl PartialEq<AwsEc2SubnetDetails> for AwsEc2SubnetDetails
sourcefn eq(&self, other: &AwsEc2SubnetDetails) -> bool
fn eq(&self, other: &AwsEc2SubnetDetails) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AwsEc2SubnetDetails) -> bool
fn ne(&self, other: &AwsEc2SubnetDetails) -> bool
This method tests for !=
.
sourceimpl Serialize for AwsEc2SubnetDetails
impl Serialize for AwsEc2SubnetDetails
impl StructuralPartialEq for AwsEc2SubnetDetails
Auto Trait Implementations
impl RefUnwindSafe for AwsEc2SubnetDetails
impl Send for AwsEc2SubnetDetails
impl Sync for AwsEc2SubnetDetails
impl Unpin for AwsEc2SubnetDetails
impl UnwindSafe for AwsEc2SubnetDetails
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