Struct google_datalabeling1_beta1::api::GoogleCloudDatalabelingV1beta1DataItem[][src]

pub struct GoogleCloudDatalabelingV1beta1DataItem {
    pub image_payload: Option<GoogleCloudDatalabelingV1beta1ImagePayload>,
    pub name: Option<String>,
    pub text_payload: Option<GoogleCloudDatalabelingV1beta1TextPayload>,
    pub video_payload: Option<GoogleCloudDatalabelingV1beta1VideoPayload>,
}

DataItem is a piece of data, without annotation. For example, an image.

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

image_payload: Option<GoogleCloudDatalabelingV1beta1ImagePayload>

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

name: Option<String>

Output only. Name of the data item, in format of: projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id}

text_payload: Option<GoogleCloudDatalabelingV1beta1TextPayload>

The text payload, a container of text content.

video_payload: Option<GoogleCloudDatalabelingV1beta1VideoPayload>

The video payload, a container of the video uri.

Trait Implementations

impl Clone for GoogleCloudDatalabelingV1beta1DataItem[src]

impl Debug for GoogleCloudDatalabelingV1beta1DataItem[src]

impl Default for GoogleCloudDatalabelingV1beta1DataItem[src]

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

impl ResponseResult for GoogleCloudDatalabelingV1beta1DataItem[src]

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