Struct aws_sdk_ec2::types::DiskImageDetail
source · #[non_exhaustive]pub struct DiskImageDetail {
pub bytes: Option<i64>,
pub format: Option<DiskImageFormat>,
pub import_manifest_url: Option<String>,
}
Expand description
Describes a disk image.
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.bytes: Option<i64>
The size of the disk image, in GiB.
format: Option<DiskImageFormat>
The disk image format.
import_manifest_url: Option<String>
A presigned URL for the import manifest stored in Amazon S3 and presented here as an Amazon S3 presigned URL. For information about creating a presigned URL for an Amazon S3 object, read the "Query String Request Authentication Alternative" section of the Authenticating REST Requests topic in the Amazon Simple Storage Service Developer Guide.
For information about the import manifest referenced by this API action, see VM Import Manifest.
Implementations§
source§impl DiskImageDetail
impl DiskImageDetail
sourcepub fn format(&self) -> Option<&DiskImageFormat>
pub fn format(&self) -> Option<&DiskImageFormat>
The disk image format.
sourcepub fn import_manifest_url(&self) -> Option<&str>
pub fn import_manifest_url(&self) -> Option<&str>
A presigned URL for the import manifest stored in Amazon S3 and presented here as an Amazon S3 presigned URL. For information about creating a presigned URL for an Amazon S3 object, read the "Query String Request Authentication Alternative" section of the Authenticating REST Requests topic in the Amazon Simple Storage Service Developer Guide.
For information about the import manifest referenced by this API action, see VM Import Manifest.
source§impl DiskImageDetail
impl DiskImageDetail
sourcepub fn builder() -> DiskImageDetailBuilder
pub fn builder() -> DiskImageDetailBuilder
Creates a new builder-style object to manufacture DiskImageDetail
.
Trait Implementations§
source§impl Clone for DiskImageDetail
impl Clone for DiskImageDetail
source§fn clone(&self) -> DiskImageDetail
fn clone(&self) -> DiskImageDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DiskImageDetail
impl Debug for DiskImageDetail
source§impl PartialEq for DiskImageDetail
impl PartialEq for DiskImageDetail
source§fn eq(&self, other: &DiskImageDetail) -> bool
fn eq(&self, other: &DiskImageDetail) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DiskImageDetail
Auto Trait Implementations§
impl Freeze for DiskImageDetail
impl RefUnwindSafe for DiskImageDetail
impl Send for DiskImageDetail
impl Sync for DiskImageDetail
impl Unpin for DiskImageDetail
impl UnwindSafe for DiskImageDetail
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