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

pub struct AnnotationSpec {
    pub display_name: String,
    pub description: String,
}

Container of information related to one possible annotation that can be used in a labeling task. For example, an image classification task where images are labeled as dog or cat must reference an AnnotationSpec for dog and an AnnotationSpec for cat.

Fields

display_name: String

Required. The display name of the AnnotationSpec. Maximum of 64 characters.

description: String

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

Trait Implementations

impl Clone for AnnotationSpec[src]

impl Debug for AnnotationSpec[src]

impl Default for AnnotationSpec[src]

impl Message for AnnotationSpec[src]

impl PartialEq<AnnotationSpec> for AnnotationSpec[src]

impl StructuralPartialEq for AnnotationSpec[src]

Auto Trait Implementations

impl RefUnwindSafe for AnnotationSpec

impl Send for AnnotationSpec

impl Sync for AnnotationSpec

impl Unpin for AnnotationSpec

impl UnwindSafe for AnnotationSpec

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]