#[non_exhaustive]pub struct LabelingJobStoppingConditions {
pub max_human_labeled_object_count: Option<i32>,
pub max_percentage_of_input_dataset_labeled: Option<i32>,
}
Expand description
A set of conditions for stopping a labeling job. If any of the conditions are met, the job is automatically stopped. You can use these conditions to control the cost of data labeling.
Labeling jobs fail after 30 days with an appropriate client error message.
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.max_human_labeled_object_count: Option<i32>
The maximum number of objects that can be labeled by human workers.
max_percentage_of_input_dataset_labeled: Option<i32>
The maximum number of input data objects that should be labeled.
Implementations§
source§impl LabelingJobStoppingConditions
impl LabelingJobStoppingConditions
sourcepub fn max_human_labeled_object_count(&self) -> Option<i32>
pub fn max_human_labeled_object_count(&self) -> Option<i32>
The maximum number of objects that can be labeled by human workers.
sourcepub fn max_percentage_of_input_dataset_labeled(&self) -> Option<i32>
pub fn max_percentage_of_input_dataset_labeled(&self) -> Option<i32>
The maximum number of input data objects that should be labeled.
source§impl LabelingJobStoppingConditions
impl LabelingJobStoppingConditions
sourcepub fn builder() -> LabelingJobStoppingConditionsBuilder
pub fn builder() -> LabelingJobStoppingConditionsBuilder
Creates a new builder-style object to manufacture LabelingJobStoppingConditions
.
Trait Implementations§
source§impl Clone for LabelingJobStoppingConditions
impl Clone for LabelingJobStoppingConditions
source§fn clone(&self) -> LabelingJobStoppingConditions
fn clone(&self) -> LabelingJobStoppingConditions
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 LabelingJobStoppingConditions
impl PartialEq for LabelingJobStoppingConditions
source§fn eq(&self, other: &LabelingJobStoppingConditions) -> bool
fn eq(&self, other: &LabelingJobStoppingConditions) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for LabelingJobStoppingConditions
Auto Trait Implementations§
impl Freeze for LabelingJobStoppingConditions
impl RefUnwindSafe for LabelingJobStoppingConditions
impl Send for LabelingJobStoppingConditions
impl Sync for LabelingJobStoppingConditions
impl Unpin for LabelingJobStoppingConditions
impl UnwindSafe for LabelingJobStoppingConditions
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.