Struct aws_sdk_ec2::types::DiskInfo
source · #[non_exhaustive]pub struct DiskInfo {
pub size_in_gb: Option<i64>,
pub count: Option<i32>,
pub type: Option<DiskType>,
}
Expand description
Describes a disk.
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.size_in_gb: Option<i64>
The size of the disk in GB.
count: Option<i32>
The number of disks with this configuration.
type: Option<DiskType>
The type of disk.
Implementations§
Trait Implementations§
source§impl PartialEq<DiskInfo> for DiskInfo
impl PartialEq<DiskInfo> for DiskInfo
impl StructuralPartialEq for DiskInfo
Auto Trait Implementations§
impl RefUnwindSafe for DiskInfo
impl Send for DiskInfo
impl Sync for DiskInfo
impl Unpin for DiskInfo
impl UnwindSafe for DiskInfo
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