[][src]Struct google_vision1::ProductSet

pub struct ProductSet {
    pub display_name: Option<String>,
    pub index_error: Option<Status>,
    pub name: Option<String>,
    pub index_time: Option<String>,
}

A ProductSet contains Products. A ProductSet can contain a maximum of 1 million reference images. If the limit is exceeded, periodic indexing will fail.

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

display_name: Option<String>

The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long.

index_error: Option<Status>

Output only. If there was an error with indexing the product set, the field is populated.

This field is ignored when creating a ProductSet.

name: Option<String>

The resource name of the ProductSet.

Format is: projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID.

This field is ignored when creating a ProductSet.

index_time: Option<String>

Output only. The time at which this ProductSet was last indexed. Query results will reflect all updates before this time. If this ProductSet has never been indexed, this timestamp is the default value "1970-01-01T00:00:00Z".

This field is ignored when creating a ProductSet.

Trait Implementations

impl Clone for ProductSet[src]

impl Debug for ProductSet[src]

impl Default for ProductSet[src]

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

impl RequestValue for ProductSet[src]

impl ResponseResult for ProductSet[src]

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

impl<T> Typeable for T where
    T: Any