Struct aws_sdk_comprehend::operation::stop_dominant_language_detection_job::StopDominantLanguageDetectionJobOutput
source · #[non_exhaustive]pub struct StopDominantLanguageDetectionJobOutput {
pub job_id: Option<String>,
pub job_status: Option<JobStatus>,
/* private fields */
}
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.job_id: Option<String>
The identifier of the dominant language detection job to stop.
job_status: Option<JobStatus>
Either STOP_REQUESTED
if the job is currently running, or STOPPED
if the job was previously stopped with the StopDominantLanguageDetectionJob
operation.
Implementations§
source§impl StopDominantLanguageDetectionJobOutput
impl StopDominantLanguageDetectionJobOutput
sourcepub fn job_id(&self) -> Option<&str>
pub fn job_id(&self) -> Option<&str>
The identifier of the dominant language detection job to stop.
sourcepub fn job_status(&self) -> Option<&JobStatus>
pub fn job_status(&self) -> Option<&JobStatus>
Either STOP_REQUESTED
if the job is currently running, or STOPPED
if the job was previously stopped with the StopDominantLanguageDetectionJob
operation.
source§impl StopDominantLanguageDetectionJobOutput
impl StopDominantLanguageDetectionJobOutput
sourcepub fn builder() -> StopDominantLanguageDetectionJobOutputBuilder
pub fn builder() -> StopDominantLanguageDetectionJobOutputBuilder
Creates a new builder-style object to manufacture StopDominantLanguageDetectionJobOutput
.
Trait Implementations§
source§impl Clone for StopDominantLanguageDetectionJobOutput
impl Clone for StopDominantLanguageDetectionJobOutput
source§fn clone(&self) -> StopDominantLanguageDetectionJobOutput
fn clone(&self) -> StopDominantLanguageDetectionJobOutput
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 PartialEq for StopDominantLanguageDetectionJobOutput
impl PartialEq for StopDominantLanguageDetectionJobOutput
source§fn eq(&self, other: &StopDominantLanguageDetectionJobOutput) -> bool
fn eq(&self, other: &StopDominantLanguageDetectionJobOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for StopDominantLanguageDetectionJobOutput
impl RequestId for StopDominantLanguageDetectionJobOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for StopDominantLanguageDetectionJobOutput
Auto Trait Implementations§
impl Freeze for StopDominantLanguageDetectionJobOutput
impl RefUnwindSafe for StopDominantLanguageDetectionJobOutput
impl Send for StopDominantLanguageDetectionJobOutput
impl Sync for StopDominantLanguageDetectionJobOutput
impl Unpin for StopDominantLanguageDetectionJobOutput
impl UnwindSafe for StopDominantLanguageDetectionJobOutput
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.