Struct aws_sdk_migrationhub::types::MigrationTask
source · #[non_exhaustive]pub struct MigrationTask {
pub progress_update_stream: Option<String>,
pub migration_task_name: Option<String>,
pub task: Option<Task>,
pub update_date_time: Option<DateTime>,
pub resource_attribute_list: Option<Vec<ResourceAttribute>>,
}
Expand description
Represents a migration task in a migration tool.
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.progress_update_stream: Option<String>
A name that identifies the vendor of the migration tool being used.
migration_task_name: Option<String>
Unique identifier that references the migration task. Do not store personal data in this field.
task: Option<Task>
Task object encapsulating task information.
update_date_time: Option<DateTime>
The timestamp when the task was gathered.
resource_attribute_list: Option<Vec<ResourceAttribute>>
Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service repository.
Implementations§
source§impl MigrationTask
impl MigrationTask
sourcepub fn progress_update_stream(&self) -> Option<&str>
pub fn progress_update_stream(&self) -> Option<&str>
A name that identifies the vendor of the migration tool being used.
sourcepub fn migration_task_name(&self) -> Option<&str>
pub fn migration_task_name(&self) -> Option<&str>
Unique identifier that references the migration task. Do not store personal data in this field.
sourcepub fn update_date_time(&self) -> Option<&DateTime>
pub fn update_date_time(&self) -> Option<&DateTime>
The timestamp when the task was gathered.
sourcepub fn resource_attribute_list(&self) -> &[ResourceAttribute]
pub fn resource_attribute_list(&self) -> &[ResourceAttribute]
Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service repository.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .resource_attribute_list.is_none()
.
source§impl MigrationTask
impl MigrationTask
sourcepub fn builder() -> MigrationTaskBuilder
pub fn builder() -> MigrationTaskBuilder
Creates a new builder-style object to manufacture MigrationTask
.
Trait Implementations§
source§impl Clone for MigrationTask
impl Clone for MigrationTask
source§fn clone(&self) -> MigrationTask
fn clone(&self) -> MigrationTask
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MigrationTask
impl Debug for MigrationTask
source§impl PartialEq for MigrationTask
impl PartialEq for MigrationTask
source§fn eq(&self, other: &MigrationTask) -> bool
fn eq(&self, other: &MigrationTask) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MigrationTask
Auto Trait Implementations§
impl Freeze for MigrationTask
impl RefUnwindSafe for MigrationTask
impl Send for MigrationTask
impl Sync for MigrationTask
impl Unpin for MigrationTask
impl UnwindSafe for MigrationTask
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