Struct aws_sdk_ec2::types::DiskImage
source · #[non_exhaustive]pub struct DiskImage {
pub description: Option<String>,
pub image: Option<DiskImageDetail>,
pub volume: Option<VolumeDetail>,
}
Expand description
Describes a disk image.
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.description: Option<String>
A description of the disk image.
image: Option<DiskImageDetail>
Information about the disk image.
volume: Option<VolumeDetail>
Information about the volume.
Implementations§
source§impl DiskImage
impl DiskImage
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the disk image.
sourcepub fn image(&self) -> Option<&DiskImageDetail>
pub fn image(&self) -> Option<&DiskImageDetail>
Information about the disk image.
sourcepub fn volume(&self) -> Option<&VolumeDetail>
pub fn volume(&self) -> Option<&VolumeDetail>
Information about the volume.
Trait Implementations§
source§impl PartialEq<DiskImage> for DiskImage
impl PartialEq<DiskImage> for DiskImage
impl StructuralPartialEq for DiskImage
Auto Trait Implementations§
impl RefUnwindSafe for DiskImage
impl Send for DiskImage
impl Sync for DiskImage
impl Unpin for DiskImage
impl UnwindSafe for DiskImage
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