#[non_exhaustive]pub struct LabelDetectionSettingsBuilder { /* private fields */ }Expand description
A builder for LabelDetectionSettings.
Implementations§
source§impl LabelDetectionSettingsBuilder
impl LabelDetectionSettingsBuilder
sourcepub fn general_labels(self, input: GeneralLabelsSettings) -> Self
pub fn general_labels(self, input: GeneralLabelsSettings) -> Self
Contains filters for the object labels returned by DetectLabels. Filters can be inclusive, exclusive, or a combination of both and can be applied to individual labels or entire label categories. To see a list of label categories, see Detecting Labels.
sourcepub fn set_general_labels(self, input: Option<GeneralLabelsSettings>) -> Self
pub fn set_general_labels(self, input: Option<GeneralLabelsSettings>) -> Self
Contains filters for the object labels returned by DetectLabels. Filters can be inclusive, exclusive, or a combination of both and can be applied to individual labels or entire label categories. To see a list of label categories, see Detecting Labels.
sourcepub fn get_general_labels(&self) -> &Option<GeneralLabelsSettings>
pub fn get_general_labels(&self) -> &Option<GeneralLabelsSettings>
Contains filters for the object labels returned by DetectLabels. Filters can be inclusive, exclusive, or a combination of both and can be applied to individual labels or entire label categories. To see a list of label categories, see Detecting Labels.
sourcepub fn build(self) -> LabelDetectionSettings
pub fn build(self) -> LabelDetectionSettings
Consumes the builder and constructs a LabelDetectionSettings.
Trait Implementations§
source§impl Clone for LabelDetectionSettingsBuilder
impl Clone for LabelDetectionSettingsBuilder
source§fn clone(&self) -> LabelDetectionSettingsBuilder
fn clone(&self) -> LabelDetectionSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for LabelDetectionSettingsBuilder
impl Default for LabelDetectionSettingsBuilder
source§fn default() -> LabelDetectionSettingsBuilder
fn default() -> LabelDetectionSettingsBuilder
source§impl PartialEq for LabelDetectionSettingsBuilder
impl PartialEq for LabelDetectionSettingsBuilder
source§fn eq(&self, other: &LabelDetectionSettingsBuilder) -> bool
fn eq(&self, other: &LabelDetectionSettingsBuilder) -> bool
self and other values to be equal, and is used
by ==.