Struct gapi_grpc::google::cloud::vision::v1::CreateReferenceImageRequest[][src]

pub struct CreateReferenceImageRequest {
    pub parent: String,
    pub reference_image: Option<ReferenceImage>,
    pub reference_image_id: String,
}

Request message for the CreateReferenceImage method.

Fields

parent: String

Required. Resource name of the product in which to create the reference image.

Format is projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID.

reference_image: Option<ReferenceImage>

Required. The reference image to create. If an image ID is specified, it is ignored.

reference_image_id: String

A user-supplied resource id for the ReferenceImage to be added. 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 CreateReferenceImageRequest[src]

impl Debug for CreateReferenceImageRequest[src]

impl Default for CreateReferenceImageRequest[src]

impl Message for CreateReferenceImageRequest[src]

impl PartialEq<CreateReferenceImageRequest> for CreateReferenceImageRequest[src]

impl StructuralPartialEq for CreateReferenceImageRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for CreateReferenceImageRequest

impl Send for CreateReferenceImageRequest

impl Sync for CreateReferenceImageRequest

impl Unpin for CreateReferenceImageRequest

impl UnwindSafe for CreateReferenceImageRequest

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> 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>, 
[src]

impl<T> WithSubscriber for T[src]