[][src]Struct gcp_client::google::cloud::vision::v1::CreateProductRequest

pub struct CreateProductRequest {
    pub parent: String,
    pub product: Option<Product>,
    pub product_id: String,
}

Request message for the CreateProduct method.

Fields

parent: String

Required. The project in which the Product should be created.

Format is projects/PROJECT_ID/locations/LOC_ID.

product: Option<Product>

Required. The product to create.

product_id: String

A user-supplied resource id for this Product. If set, the server will attempt to use this value as the resource id. If it is already in use, an error is returned with code ALREADY_EXISTS. Must be at most 128 characters long. It cannot contain the character /.

Trait Implementations

impl Clone for CreateProductRequest[src]

impl Debug for CreateProductRequest[src]

impl Default for CreateProductRequest[src]

impl Message for CreateProductRequest[src]

impl PartialEq<CreateProductRequest> for CreateProductRequest[src]

impl StructuralPartialEq for CreateProductRequest[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]