Struct google_datalabeling1_beta1::api::GoogleCloudDatalabelingV1beta1Example[][src]

pub struct GoogleCloudDatalabelingV1beta1Example {
    pub annotations: Option<Vec<GoogleCloudDatalabelingV1beta1Annotation>>,
    pub image_payload: Option<GoogleCloudDatalabelingV1beta1ImagePayload>,
    pub name: Option<String>,
    pub text_payload: Option<GoogleCloudDatalabelingV1beta1TextPayload>,
    pub video_payload: Option<GoogleCloudDatalabelingV1beta1VideoPayload>,
}

An Example is a piece of data and its annotation. For example, an image with label “house”.

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

annotations: Option<Vec<GoogleCloudDatalabelingV1beta1Annotation>>

Output only. Annotations for the piece of data in Example. One piece of data can have multiple annotations.

image_payload: Option<GoogleCloudDatalabelingV1beta1ImagePayload>

The image payload, a container of the image bytes/uri.

name: Option<String>

Output only. Name of the example, in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}/examples/{example_id}

text_payload: Option<GoogleCloudDatalabelingV1beta1TextPayload>

The text payload, a container of the text content.

video_payload: Option<GoogleCloudDatalabelingV1beta1VideoPayload>

The video payload, a container of the video uri.

Trait Implementations

impl Clone for GoogleCloudDatalabelingV1beta1Example[src]

impl Debug for GoogleCloudDatalabelingV1beta1Example[src]

impl Default for GoogleCloudDatalabelingV1beta1Example[src]

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

impl ResponseResult for GoogleCloudDatalabelingV1beta1Example[src]

impl Serialize for GoogleCloudDatalabelingV1beta1Example[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.