[][src]Struct google_vision1::AnnotateFileResponse

pub struct AnnotateFileResponse {
    pub total_pages: Option<i32>,
    pub error: Option<Status>,
    pub input_config: Option<InputConfig>,
    pub responses: Option<Vec<AnnotateImageResponse>>,
}

Response to a single file annotation request. A file may contain one or more images, which individually have their own responses.

This type is not used in any activity, and only used as part of another schema.

Fields

total_pages: Option<i32>

This field gives the total number of pages in the file.

error: Option<Status>

If set, represents the error message for the failed request. The responses field will not be set in this case.

input_config: Option<InputConfig>

Information about the file for which this response is generated.

responses: Option<Vec<AnnotateImageResponse>>

Individual responses to images found within the file. This field will be empty if the error field is set.

Trait Implementations

impl Clone for AnnotateFileResponse[src]

impl Debug for AnnotateFileResponse[src]

impl Default for AnnotateFileResponse[src]

impl<'de> Deserialize<'de> for AnnotateFileResponse[src]

impl Part for AnnotateFileResponse[src]

impl Serialize for AnnotateFileResponse[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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<T> Typeable for T where
    T: Any