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

pub struct OutputConfig {
    pub gcs_destination: Option<GcsDestination>,
    pub batch_size: i32,
}

The desired output location and metadata.

Fields

gcs_destination: Option<GcsDestination>

The Google Cloud Storage location to write the output(s) to.

batch_size: i32

The max number of response protos to put into each output JSON file on Google Cloud Storage. The valid range is [1, 100]. If not specified, the default value is 20.

For example, for one pdf file with 100 pages, 100 response protos will be generated. If batch_size = 20, then 5 json files each containing 20 response protos will be written under the prefix gcs_destination.uri.

Currently, batch_size only applies to GcsDestination, with potential future support for other output configurations.

Trait Implementations

impl Clone for OutputConfig[src]

impl Debug for OutputConfig[src]

impl Default for OutputConfig[src]

impl Message for OutputConfig[src]

impl PartialEq<OutputConfig> for OutputConfig[src]

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