#[non_exhaustive]pub struct HumanLoopDataAttributesBuilder { /* private fields */ }Expand description
A builder for HumanLoopDataAttributes.
Implementations§
source§impl HumanLoopDataAttributesBuilder
impl HumanLoopDataAttributesBuilder
sourcepub fn content_classifiers(self, input: ContentClassifier) -> Self
pub fn content_classifiers(self, input: ContentClassifier) -> Self
Appends an item to content_classifiers.
To override the contents of this collection use set_content_classifiers.
Sets whether the input image is free of personally identifiable information or adult content.
sourcepub fn set_content_classifiers(
self,
input: Option<Vec<ContentClassifier>>
) -> Self
pub fn set_content_classifiers( self, input: Option<Vec<ContentClassifier>> ) -> Self
Sets whether the input image is free of personally identifiable information or adult content.
sourcepub fn build(self) -> HumanLoopDataAttributes
pub fn build(self) -> HumanLoopDataAttributes
Consumes the builder and constructs a HumanLoopDataAttributes.
Trait Implementations§
source§impl Clone for HumanLoopDataAttributesBuilder
impl Clone for HumanLoopDataAttributesBuilder
source§fn clone(&self) -> HumanLoopDataAttributesBuilder
fn clone(&self) -> HumanLoopDataAttributesBuilder
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 HumanLoopDataAttributesBuilder
impl Default for HumanLoopDataAttributesBuilder
source§fn default() -> HumanLoopDataAttributesBuilder
fn default() -> HumanLoopDataAttributesBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<HumanLoopDataAttributesBuilder> for HumanLoopDataAttributesBuilder
impl PartialEq<HumanLoopDataAttributesBuilder> for HumanLoopDataAttributesBuilder
source§fn eq(&self, other: &HumanLoopDataAttributesBuilder) -> bool
fn eq(&self, other: &HumanLoopDataAttributesBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.