[][src]Struct gcp_client::google::cloud::automl::v1beta1::AnnotationSpec

pub struct AnnotationSpec {
    pub name: String,
    pub display_name: String,
    pub example_count: i32,
}

A definition of an annotation spec.

Fields

name: String

Output only. Resource name of the annotation spec. Form:

'projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationSpecs/{annotation_spec_id}'

display_name: String

Required. The name of the annotation spec to show in the interface. The name can be up to 32 characters long and must match the regexp [a-zA-Z0-9_]+.

example_count: i32

Output only. The number of examples in the parent dataset labeled by the annotation spec.

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

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, 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>, 

impl<T> WithSubscriber for T[src]