[][src]Struct gcp_client::google::cloud::vision::v1p1beta1::AnnotateImageResponse

pub struct AnnotateImageResponse {
    pub face_annotations: Vec<FaceAnnotation>,
    pub landmark_annotations: Vec<EntityAnnotation>,
    pub logo_annotations: Vec<EntityAnnotation>,
    pub label_annotations: Vec<EntityAnnotation>,
    pub text_annotations: Vec<EntityAnnotation>,
    pub full_text_annotation: Option<TextAnnotation>,
    pub safe_search_annotation: Option<SafeSearchAnnotation>,
    pub image_properties_annotation: Option<ImageProperties>,
    pub crop_hints_annotation: Option<CropHintsAnnotation>,
    pub web_detection: Option<WebDetection>,
    pub error: Option<Status>,
}

Response to an image annotation request.

Fields

face_annotations: Vec<FaceAnnotation>

If present, face detection has completed successfully.

landmark_annotations: Vec<EntityAnnotation>

If present, landmark detection has completed successfully.

logo_annotations: Vec<EntityAnnotation>

If present, logo detection has completed successfully.

label_annotations: Vec<EntityAnnotation>

If present, label detection has completed successfully.

text_annotations: Vec<EntityAnnotation>

If present, text (OCR) detection has completed successfully.

full_text_annotation: Option<TextAnnotation>

If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text.

safe_search_annotation: Option<SafeSearchAnnotation>

If present, safe-search annotation has completed successfully.

image_properties_annotation: Option<ImageProperties>

If present, image properties were extracted successfully.

crop_hints_annotation: Option<CropHintsAnnotation>

If present, crop hints have completed successfully.

web_detection: Option<WebDetection>

If present, web detection has completed successfully.

error: Option<Status>

If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when error is set.

Trait Implementations

impl Clone for AnnotateImageResponse[src]

impl Debug for AnnotateImageResponse[src]

impl Default for AnnotateImageResponse[src]

impl Message for AnnotateImageResponse[src]

impl PartialEq<AnnotateImageResponse> for AnnotateImageResponse[src]

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