Struct aws_sdk_deadline::operation::get_task::GetTaskOutput
source · #[non_exhaustive]pub struct GetTaskOutput {
pub task_id: String,
pub created_at: DateTime,
pub created_by: String,
pub run_status: TaskRunStatus,
pub target_run_status: Option<TaskTargetRunStatus>,
pub failure_retry_count: Option<i32>,
pub parameters: Option<HashMap<String, TaskParameterValue>>,
pub started_at: Option<DateTime>,
pub ended_at: Option<DateTime>,
pub updated_at: Option<DateTime>,
pub updated_by: Option<String>,
pub latest_session_action_id: Option<String>,
/* private fields */
}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.task_id: StringThe task ID.
created_at: DateTimeThe date and time the resource was created.
created_by: StringThe user or system that created this resource.
run_status: TaskRunStatusThe run status for the task.
target_run_status: Option<TaskTargetRunStatus>The run status with which to start the task.
failure_retry_count: Option<i32>The number of times that the task failed and was retried.
parameters: Option<HashMap<String, TaskParameterValue>>The parameters for the task.
started_at: Option<DateTime>The date and time the resource started running.
ended_at: Option<DateTime>The date and time the resource ended running.
updated_at: Option<DateTime>The date and time the resource was updated.
updated_by: Option<String>The user or system that updated this resource.
latest_session_action_id: Option<String>The latest session ID for the task.
Implementations§
source§impl GetTaskOutput
impl GetTaskOutput
sourcepub fn created_at(&self) -> &DateTime
pub fn created_at(&self) -> &DateTime
The date and time the resource was created.
sourcepub fn created_by(&self) -> &str
pub fn created_by(&self) -> &str
The user or system that created this resource.
sourcepub fn run_status(&self) -> &TaskRunStatus
pub fn run_status(&self) -> &TaskRunStatus
The run status for the task.
sourcepub fn target_run_status(&self) -> Option<&TaskTargetRunStatus>
pub fn target_run_status(&self) -> Option<&TaskTargetRunStatus>
The run status with which to start the task.
sourcepub fn failure_retry_count(&self) -> Option<i32>
pub fn failure_retry_count(&self) -> Option<i32>
The number of times that the task failed and was retried.
sourcepub fn parameters(&self) -> Option<&HashMap<String, TaskParameterValue>>
pub fn parameters(&self) -> Option<&HashMap<String, TaskParameterValue>>
The parameters for the task.
sourcepub fn started_at(&self) -> Option<&DateTime>
pub fn started_at(&self) -> Option<&DateTime>
The date and time the resource started running.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The date and time the resource was updated.
sourcepub fn updated_by(&self) -> Option<&str>
pub fn updated_by(&self) -> Option<&str>
The user or system that updated this resource.
sourcepub fn latest_session_action_id(&self) -> Option<&str>
pub fn latest_session_action_id(&self) -> Option<&str>
The latest session ID for the task.
source§impl GetTaskOutput
impl GetTaskOutput
sourcepub fn builder() -> GetTaskOutputBuilder
pub fn builder() -> GetTaskOutputBuilder
Creates a new builder-style object to manufacture GetTaskOutput.
Trait Implementations§
source§impl Clone for GetTaskOutput
impl Clone for GetTaskOutput
source§fn clone(&self) -> GetTaskOutput
fn clone(&self) -> GetTaskOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetTaskOutput
impl Debug for GetTaskOutput
source§impl PartialEq for GetTaskOutput
impl PartialEq for GetTaskOutput
source§fn eq(&self, other: &GetTaskOutput) -> bool
fn eq(&self, other: &GetTaskOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for GetTaskOutput
impl RequestId for GetTaskOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for GetTaskOutput
Auto Trait Implementations§
impl Freeze for GetTaskOutput
impl RefUnwindSafe for GetTaskOutput
impl Send for GetTaskOutput
impl Sync for GetTaskOutput
impl Unpin for GetTaskOutput
impl UnwindSafe for GetTaskOutput
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