Struct aws_sdk_translate::operation::start_text_translation_job::StartTextTranslationJobOutput
source · #[non_exhaustive]pub struct StartTextTranslationJobOutput {
pub job_id: Option<String>,
pub job_status: Option<JobStatus>,
/* 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.job_id: Option<String>The identifier generated for the job. To get the status of a job, use this ID with the DescribeTextTranslationJob operation.
job_status: Option<JobStatus>The status of the job. Possible values include:
-
SUBMITTED- The job has been received and is queued for processing. -
IN_PROGRESS- Amazon Translate is processing the job. -
COMPLETED- The job was successfully completed and the output is available. -
COMPLETED_WITH_ERROR- The job was completed with errors. The errors can be analyzed in the job's output. -
FAILED- The job did not complete. To get details, use theDescribeTextTranslationJoboperation. -
STOP_REQUESTED- The user who started the job has requested that it be stopped. -
STOPPED- The job has been stopped.
Implementations§
source§impl StartTextTranslationJobOutput
impl StartTextTranslationJobOutput
sourcepub fn job_id(&self) -> Option<&str>
pub fn job_id(&self) -> Option<&str>
The identifier generated for the job. To get the status of a job, use this ID with the DescribeTextTranslationJob operation.
sourcepub fn job_status(&self) -> Option<&JobStatus>
pub fn job_status(&self) -> Option<&JobStatus>
The status of the job. Possible values include:
-
SUBMITTED- The job has been received and is queued for processing. -
IN_PROGRESS- Amazon Translate is processing the job. -
COMPLETED- The job was successfully completed and the output is available. -
COMPLETED_WITH_ERROR- The job was completed with errors. The errors can be analyzed in the job's output. -
FAILED- The job did not complete. To get details, use theDescribeTextTranslationJoboperation. -
STOP_REQUESTED- The user who started the job has requested that it be stopped. -
STOPPED- The job has been stopped.
source§impl StartTextTranslationJobOutput
impl StartTextTranslationJobOutput
sourcepub fn builder() -> StartTextTranslationJobOutputBuilder
pub fn builder() -> StartTextTranslationJobOutputBuilder
Creates a new builder-style object to manufacture StartTextTranslationJobOutput.
Trait Implementations§
source§impl Clone for StartTextTranslationJobOutput
impl Clone for StartTextTranslationJobOutput
source§fn clone(&self) -> StartTextTranslationJobOutput
fn clone(&self) -> StartTextTranslationJobOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for StartTextTranslationJobOutput
impl PartialEq for StartTextTranslationJobOutput
source§fn eq(&self, other: &StartTextTranslationJobOutput) -> bool
fn eq(&self, other: &StartTextTranslationJobOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for StartTextTranslationJobOutput
impl RequestId for StartTextTranslationJobOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.