Struct google_datalabeling1_beta1::api::GoogleCloudDatalabelingV1beta1AnnotationSpecSet[][src]

pub struct GoogleCloudDatalabelingV1beta1AnnotationSpecSet {
    pub annotation_specs: Option<Vec<GoogleCloudDatalabelingV1beta1AnnotationSpec>>,
    pub blocking_resources: Option<Vec<String>>,
    pub description: Option<String>,
    pub display_name: Option<String>,
    pub name: Option<String>,
}

An AnnotationSpecSet is a collection of label definitions. For example, in image classification tasks, you define a set of possible labels for images as an AnnotationSpecSet. An AnnotationSpecSet is immutable upon creation.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

annotation_specs: Option<Vec<GoogleCloudDatalabelingV1beta1AnnotationSpec>>

Required. The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.

blocking_resources: Option<Vec<String>>

Output only. The names of any related resources that are blocking changes to the annotation spec set.

description: Option<String>

Optional. User-provided description of the annotation specification set. The description can be up to 10,000 characters long.

display_name: Option<String>

Required. The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.

name: Option<String>

Output only. The AnnotationSpecSet resource name in the following format: “projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}”

Trait Implementations

impl Clone for GoogleCloudDatalabelingV1beta1AnnotationSpecSet[src]

impl Debug for GoogleCloudDatalabelingV1beta1AnnotationSpecSet[src]

impl Default for GoogleCloudDatalabelingV1beta1AnnotationSpecSet[src]

impl<'de> Deserialize<'de> for GoogleCloudDatalabelingV1beta1AnnotationSpecSet[src]

impl ResponseResult for GoogleCloudDatalabelingV1beta1AnnotationSpecSet[src]

impl Serialize for GoogleCloudDatalabelingV1beta1AnnotationSpecSet[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<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.