Struct aws_sdk_deadline::types::TaskSearchSummary
source · #[non_exhaustive]pub struct TaskSearchSummary {
pub task_id: Option<String>,
pub step_id: Option<String>,
pub job_id: Option<String>,
pub queue_id: Option<String>,
pub run_status: Option<TaskRunStatus>,
pub target_run_status: Option<TaskTargetRunStatus>,
pub parameters: Option<HashMap<String, TaskParameterValue>>,
pub failure_retry_count: Option<i32>,
pub started_at: Option<DateTime>,
pub ended_at: Option<DateTime>,
}Expand description
The details of a task search.
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 ID.
step_id: Option<String>The step ID.
job_id: Option<String>The job ID.
queue_id: Option<String>The queue ID.
run_status: Option<TaskRunStatus>The run status of the task.
target_run_status: Option<TaskTargetRunStatus>The run status that the task is being updated to.
parameters: Option<HashMap<String, TaskParameterValue>>The parameters to search for.
failure_retry_count: Option<i32>The number of times that the task failed and was retried.
started_at: Option<DateTime>The date and time the resource started running.
ended_at: Option<DateTime>The date and time the resource ended running.
Implementations§
source§impl TaskSearchSummary
impl TaskSearchSummary
sourcepub fn run_status(&self) -> Option<&TaskRunStatus>
pub fn run_status(&self) -> Option<&TaskRunStatus>
The run status of the task.
sourcepub fn target_run_status(&self) -> Option<&TaskTargetRunStatus>
pub fn target_run_status(&self) -> Option<&TaskTargetRunStatus>
The run status that the task is being updated to.
sourcepub fn parameters(&self) -> Option<&HashMap<String, TaskParameterValue>>
pub fn parameters(&self) -> Option<&HashMap<String, TaskParameterValue>>
The parameters to search for.
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 started_at(&self) -> Option<&DateTime>
pub fn started_at(&self) -> Option<&DateTime>
The date and time the resource started running.
source§impl TaskSearchSummary
impl TaskSearchSummary
sourcepub fn builder() -> TaskSearchSummaryBuilder
pub fn builder() -> TaskSearchSummaryBuilder
Creates a new builder-style object to manufacture TaskSearchSummary.
Trait Implementations§
source§impl Clone for TaskSearchSummary
impl Clone for TaskSearchSummary
source§fn clone(&self) -> TaskSearchSummary
fn clone(&self) -> TaskSearchSummary
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 TaskSearchSummary
impl Debug for TaskSearchSummary
source§impl PartialEq for TaskSearchSummary
impl PartialEq for TaskSearchSummary
source§fn eq(&self, other: &TaskSearchSummary) -> bool
fn eq(&self, other: &TaskSearchSummary) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TaskSearchSummary
Auto Trait Implementations§
impl Freeze for TaskSearchSummary
impl RefUnwindSafe for TaskSearchSummary
impl Send for TaskSearchSummary
impl Sync for TaskSearchSummary
impl Unpin for TaskSearchSummary
impl UnwindSafe for TaskSearchSummary
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.