Struct aws_sdk_ec2::types::ImportVolumeTaskDetails
source · #[non_exhaustive]pub struct ImportVolumeTaskDetails {
pub availability_zone: Option<String>,
pub bytes_converted: Option<i64>,
pub description: Option<String>,
pub image: Option<DiskImageDescription>,
pub volume: Option<DiskImageVolumeDescription>,
}
Expand description
Describes an import volume task.
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.availability_zone: Option<String>
The Availability Zone where the resulting volume will reside.
bytes_converted: Option<i64>
The number of bytes converted so far.
description: Option<String>
The description you provided when starting the import volume task.
image: Option<DiskImageDescription>
The image.
volume: Option<DiskImageVolumeDescription>
The volume.
Implementations§
source§impl ImportVolumeTaskDetails
impl ImportVolumeTaskDetails
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
The Availability Zone where the resulting volume will reside.
sourcepub fn bytes_converted(&self) -> Option<i64>
pub fn bytes_converted(&self) -> Option<i64>
The number of bytes converted so far.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description you provided when starting the import volume task.
sourcepub fn image(&self) -> Option<&DiskImageDescription>
pub fn image(&self) -> Option<&DiskImageDescription>
The image.
sourcepub fn volume(&self) -> Option<&DiskImageVolumeDescription>
pub fn volume(&self) -> Option<&DiskImageVolumeDescription>
The volume.
source§impl ImportVolumeTaskDetails
impl ImportVolumeTaskDetails
sourcepub fn builder() -> ImportVolumeTaskDetailsBuilder
pub fn builder() -> ImportVolumeTaskDetailsBuilder
Creates a new builder-style object to manufacture ImportVolumeTaskDetails
.
Trait Implementations§
source§impl Clone for ImportVolumeTaskDetails
impl Clone for ImportVolumeTaskDetails
source§fn clone(&self) -> ImportVolumeTaskDetails
fn clone(&self) -> ImportVolumeTaskDetails
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ImportVolumeTaskDetails
impl Debug for ImportVolumeTaskDetails
source§impl PartialEq for ImportVolumeTaskDetails
impl PartialEq for ImportVolumeTaskDetails
source§fn eq(&self, other: &ImportVolumeTaskDetails) -> bool
fn eq(&self, other: &ImportVolumeTaskDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImportVolumeTaskDetails
Auto Trait Implementations§
impl Freeze for ImportVolumeTaskDetails
impl RefUnwindSafe for ImportVolumeTaskDetails
impl Send for ImportVolumeTaskDetails
impl Sync for ImportVolumeTaskDetails
impl Unpin for ImportVolumeTaskDetails
impl UnwindSafe for ImportVolumeTaskDetails
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.