Struct rusoto_autoscaling::BlockDeviceMapping [−][src]
pub struct BlockDeviceMapping { pub device_name: String, pub ebs: Option<Ebs>, pub no_device: Option<bool>, pub virtual_name: Option<String>, }
Describes a block device mapping.
Fields
device_name: String
The device name exposed to the EC2 instance (for example, /dev/sdh
or xvdh
).
ebs: Option<Ebs>
The information about the Amazon EBS volume.
no_device: Option<bool>
Suppresses a device mapping.
If this parameter is true for the root device, the instance might fail the EC2 health check. Auto Scaling launches a replacement instance if the instance fails the health check.
virtual_name: Option<String>
The name of the virtual device (for example, ephemeral0
).
Trait Implementations
impl Default for BlockDeviceMapping
[src]
impl Default for BlockDeviceMapping
fn default() -> BlockDeviceMapping
[src]
fn default() -> BlockDeviceMapping
Returns the "default value" for a type. Read more
impl Debug for BlockDeviceMapping
[src]
impl Debug for BlockDeviceMapping
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for BlockDeviceMapping
[src]
impl Clone for BlockDeviceMapping
fn clone(&self) -> BlockDeviceMapping
[src]
fn clone(&self) -> BlockDeviceMapping
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for BlockDeviceMapping
[src]
impl PartialEq for BlockDeviceMapping
fn eq(&self, other: &BlockDeviceMapping) -> bool
[src]
fn eq(&self, other: &BlockDeviceMapping) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &BlockDeviceMapping) -> bool
[src]
fn ne(&self, other: &BlockDeviceMapping) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for BlockDeviceMapping
impl Send for BlockDeviceMapping
impl Sync for BlockDeviceMapping
impl Sync for BlockDeviceMapping