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 theDescribeTextTranslationJob
operation. -
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 theDescribeTextTranslationJob
operation. -
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.impl StructuralPartialEq for StartTextTranslationJobOutput
Auto Trait Implementations§
impl Freeze for StartTextTranslationJobOutput
impl RefUnwindSafe for StartTextTranslationJobOutput
impl Send for StartTextTranslationJobOutput
impl Sync for StartTextTranslationJobOutput
impl Unpin for StartTextTranslationJobOutput
impl UnwindSafe for StartTextTranslationJobOutput
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