Struct gapi_grpc::google::cloud::datalabeling::v1beta1::ImageClassificationConfig[][src]

pub struct ImageClassificationConfig {
    pub annotation_spec_set: String,
    pub allow_multi_label: bool,
    pub answer_aggregation_type: i32,
}

Config for image classification human labeling task.

Fields

annotation_spec_set: String

Required. Annotation spec set resource name.

allow_multi_label: bool

Optional. If allow_multi_label is true, contributors are able to choose multiple labels for one image.

answer_aggregation_type: i32

Optional. The type of how to aggregate answers.

Implementations

impl ImageClassificationConfig[src]

pub fn answer_aggregation_type(&self) -> StringAggregationType[src]

Returns the enum value of answer_aggregation_type, or the default if the field is set to an invalid enum value.

pub fn set_answer_aggregation_type(&mut self, value: StringAggregationType)[src]

Sets answer_aggregation_type to the provided enum value.

Trait Implementations

impl Clone for ImageClassificationConfig[src]

impl Debug for ImageClassificationConfig[src]

impl Default for ImageClassificationConfig[src]

impl Message for ImageClassificationConfig[src]

impl PartialEq<ImageClassificationConfig> for ImageClassificationConfig[src]

impl StructuralPartialEq for ImageClassificationConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for ImageClassificationConfig

impl Send for ImageClassificationConfig

impl Sync for ImageClassificationConfig

impl Unpin for ImageClassificationConfig

impl UnwindSafe for ImageClassificationConfig

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]