[][src]Struct gcp_client::google::cloud::vision::v1p4beta1::InputConfig

pub struct InputConfig {
    pub gcs_source: Option<GcsSource>,
    pub content: Vec<u8>,
    pub mime_type: String,
}

The desired input location and metadata.

Fields

gcs_source: Option<GcsSource>

The Google Cloud Storage location to read the input from.

content: Vec<u8>

File content, represented as a stream of bytes. Note: As with all bytes fields, protobuffers use a pure binary representation, whereas JSON representations use base64.

Currently, this field only works for BatchAnnotateFiles requests. It does not work for AsyncBatchAnnotateFiles requests.

mime_type: String

The type of the file. Currently only "application/pdf", "image/tiff" and "image/gif" are supported. Wildcards are not supported.

Trait Implementations

impl Clone for InputConfig[src]

impl Debug for InputConfig[src]

impl Default for InputConfig[src]

impl Message for InputConfig[src]

impl PartialEq<InputConfig> for InputConfig[src]

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