[][src]Struct gcp_client::google::cloud::documentai::v1beta2::document_understanding_service_client::DocumentUnderstandingServiceClient

pub struct DocumentUnderstandingServiceClient<T> { /* fields omitted */ }

Service to parse structured information from unstructured or semi-structured documents using state-of-the-art Google AI such as natural language, computer vision, and translation.

Implementations

impl<T> DocumentUnderstandingServiceClient<T> where
    T: GrpcService<BoxBody>,
    T::ResponseBody: Body + HttpBody + Send + 'static,
    T::Error: Into<StdError>,
    <T::ResponseBody as HttpBody>::Error: Into<StdError> + Send
[src]

pub fn new(inner: T) -> Self[src]

pub fn with_interceptor(inner: T, interceptor: impl Into<Interceptor>) -> Self[src]

pub async fn batch_process_documents<'_>(
    &'_ mut self,
    request: impl IntoRequest<BatchProcessDocumentsRequest>
) -> Result<Response<Operation>, Status>
[src]

LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format.

pub async fn process_document<'_>(
    &'_ mut self,
    request: impl IntoRequest<ProcessDocumentRequest>
) -> Result<Response<Document>, Status>
[src]

Processes a single document.

Trait Implementations

impl<T: Clone> Clone for DocumentUnderstandingServiceClient<T>[src]

impl<T> Debug for DocumentUnderstandingServiceClient<T>[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]