Struct aws_sdk_omics::operation::get_run_task::GetRunTaskOutput
source · #[non_exhaustive]pub struct GetRunTaskOutput {Show 13 fields
pub task_id: Option<String>,
pub status: Option<TaskStatus>,
pub name: Option<String>,
pub cpus: Option<i32>,
pub memory: Option<i32>,
pub creation_time: Option<DateTime>,
pub start_time: Option<DateTime>,
pub stop_time: Option<DateTime>,
pub status_message: Option<String>,
pub log_stream: Option<String>,
pub gpus: Option<i32>,
pub instance_type: Option<String>,
pub failure_reason: Option<String>,
/* private fields */
}
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.task_id: Option<String>
The task's ID.
status: Option<TaskStatus>
The task's status.
name: Option<String>
The task's name.
cpus: Option<i32>
The task's CPU usage.
memory: Option<i32>
The task's memory use in gigabytes.
creation_time: Option<DateTime>
When the task was created.
start_time: Option<DateTime>
The task's start time.
stop_time: Option<DateTime>
The task's stop time.
status_message: Option<String>
The task's status message.
log_stream: Option<String>
The task's log stream.
gpus: Option<i32>
The number of Graphics Processing Units (GPU) specified in the task.
instance_type: Option<String>
The instance type for a task.
failure_reason: Option<String>
The reason a task has failed.
Implementations§
source§impl GetRunTaskOutput
impl GetRunTaskOutput
sourcepub fn status(&self) -> Option<&TaskStatus>
pub fn status(&self) -> Option<&TaskStatus>
The task's status.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
When the task was created.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The task's start time.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
The task's status message.
sourcepub fn log_stream(&self) -> Option<&str>
pub fn log_stream(&self) -> Option<&str>
The task's log stream.
sourcepub fn gpus(&self) -> Option<i32>
pub fn gpus(&self) -> Option<i32>
The number of Graphics Processing Units (GPU) specified in the task.
sourcepub fn instance_type(&self) -> Option<&str>
pub fn instance_type(&self) -> Option<&str>
The instance type for a task.
sourcepub fn failure_reason(&self) -> Option<&str>
pub fn failure_reason(&self) -> Option<&str>
The reason a task has failed.
source§impl GetRunTaskOutput
impl GetRunTaskOutput
sourcepub fn builder() -> GetRunTaskOutputBuilder
pub fn builder() -> GetRunTaskOutputBuilder
Creates a new builder-style object to manufacture GetRunTaskOutput
.
Trait Implementations§
source§impl Clone for GetRunTaskOutput
impl Clone for GetRunTaskOutput
source§fn clone(&self) -> GetRunTaskOutput
fn clone(&self) -> GetRunTaskOutput
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 GetRunTaskOutput
impl Debug for GetRunTaskOutput
source§impl PartialEq for GetRunTaskOutput
impl PartialEq for GetRunTaskOutput
source§fn eq(&self, other: &GetRunTaskOutput) -> bool
fn eq(&self, other: &GetRunTaskOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetRunTaskOutput
impl RequestId for GetRunTaskOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for GetRunTaskOutput
Auto Trait Implementations§
impl RefUnwindSafe for GetRunTaskOutput
impl Send for GetRunTaskOutput
impl Sync for GetRunTaskOutput
impl Unpin for GetRunTaskOutput
impl UnwindSafe for GetRunTaskOutput
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>
Creates a shared type from an unshared type.