#[non_exhaustive]pub struct StartTextTranslationJobOutput {
pub job_id: Option<String>,
pub job_status: Option<JobStatus>,
}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
sourceimpl 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.
sourceimpl StartTextTranslationJobOutput
impl StartTextTranslationJobOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StartTextTranslationJobOutput
Trait Implementations
sourceimpl Clone for StartTextTranslationJobOutput
impl Clone for StartTextTranslationJobOutput
sourcefn clone(&self) -> StartTextTranslationJobOutput
fn clone(&self) -> StartTextTranslationJobOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for StartTextTranslationJobOutput
impl Debug for StartTextTranslationJobOutput
sourceimpl PartialEq<StartTextTranslationJobOutput> for StartTextTranslationJobOutput
impl PartialEq<StartTextTranslationJobOutput> for StartTextTranslationJobOutput
sourcefn eq(&self, other: &StartTextTranslationJobOutput) -> bool
fn eq(&self, other: &StartTextTranslationJobOutput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &StartTextTranslationJobOutput) -> bool
fn ne(&self, other: &StartTextTranslationJobOutput) -> bool
This method tests for !=.
impl StructuralPartialEq for StartTextTranslationJobOutput
Auto Trait Implementations
impl RefUnwindSafe for StartTextTranslationJobOutput
impl Send for StartTextTranslationJobOutput
impl Sync for StartTextTranslationJobOutput
impl Unpin for StartTextTranslationJobOutput
impl UnwindSafe for StartTextTranslationJobOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more