#[non_exhaustive]pub struct LabelingJobStoppingConditionsBuilder { /* private fields */ }
Expand description
A builder for LabelingJobStoppingConditions
.
Implementations§
source§impl LabelingJobStoppingConditionsBuilder
impl LabelingJobStoppingConditionsBuilder
sourcepub fn max_human_labeled_object_count(self, input: i32) -> Self
pub fn max_human_labeled_object_count(self, input: i32) -> Self
The maximum number of objects that can be labeled by human workers.
sourcepub fn set_max_human_labeled_object_count(self, input: Option<i32>) -> Self
pub fn set_max_human_labeled_object_count(self, input: Option<i32>) -> Self
The maximum number of objects that can be labeled by human workers.
sourcepub fn get_max_human_labeled_object_count(&self) -> &Option<i32>
pub fn get_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, input: i32) -> Self
pub fn max_percentage_of_input_dataset_labeled(self, input: i32) -> Self
The maximum number of input data objects that should be labeled.
sourcepub fn set_max_percentage_of_input_dataset_labeled(
self,
input: Option<i32>
) -> Self
pub fn set_max_percentage_of_input_dataset_labeled( self, input: Option<i32> ) -> Self
The maximum number of input data objects that should be labeled.
sourcepub fn get_max_percentage_of_input_dataset_labeled(&self) -> &Option<i32>
pub fn get_max_percentage_of_input_dataset_labeled(&self) -> &Option<i32>
The maximum number of input data objects that should be labeled.
sourcepub fn build(self) -> LabelingJobStoppingConditions
pub fn build(self) -> LabelingJobStoppingConditions
Consumes the builder and constructs a LabelingJobStoppingConditions
.
Trait Implementations§
source§impl Clone for LabelingJobStoppingConditionsBuilder
impl Clone for LabelingJobStoppingConditionsBuilder
source§fn clone(&self) -> LabelingJobStoppingConditionsBuilder
fn clone(&self) -> LabelingJobStoppingConditionsBuilder
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 Default for LabelingJobStoppingConditionsBuilder
impl Default for LabelingJobStoppingConditionsBuilder
source§fn default() -> LabelingJobStoppingConditionsBuilder
fn default() -> LabelingJobStoppingConditionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LabelingJobStoppingConditionsBuilder
impl PartialEq for LabelingJobStoppingConditionsBuilder
source§fn eq(&self, other: &LabelingJobStoppingConditionsBuilder) -> bool
fn eq(&self, other: &LabelingJobStoppingConditionsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LabelingJobStoppingConditionsBuilder
Auto Trait Implementations§
impl Freeze for LabelingJobStoppingConditionsBuilder
impl RefUnwindSafe for LabelingJobStoppingConditionsBuilder
impl Send for LabelingJobStoppingConditionsBuilder
impl Sync for LabelingJobStoppingConditionsBuilder
impl Unpin for LabelingJobStoppingConditionsBuilder
impl UnwindSafe for LabelingJobStoppingConditionsBuilder
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.