Struct google_vision1::api::AnnotateImageResponse [−][src]
Response to an image annotation request.
This type is not used in any activity, and only used as part of another schema.
Fields
context: Option<ImageAnnotationContext>If present, contextual information is needed to understand where this image comes from.
crop_hints_annotation: Option<CropHintsAnnotation>If present, crop hints have 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.
face_annotations: Option<Vec<FaceAnnotation>>If present, face 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.
image_properties_annotation: Option<ImageProperties>If present, image properties were extracted successfully.
label_annotations: Option<Vec<EntityAnnotation>>If present, label detection has completed successfully.
landmark_annotations: Option<Vec<EntityAnnotation>>If present, landmark detection has completed successfully.
localized_object_annotations: Option<Vec<LocalizedObjectAnnotation>>If present, localized object detection has completed successfully. This will be sorted descending by confidence score.
logo_annotations: Option<Vec<EntityAnnotation>>If present, logo detection has completed successfully.
product_search_results: Option<ProductSearchResults>If present, product search has completed successfully.
safe_search_annotation: Option<SafeSearchAnnotation>If present, safe-search annotation has completed successfully.
text_annotations: Option<Vec<EntityAnnotation>>If present, text (OCR) detection has completed successfully.
web_detection: Option<WebDetection>If present, web detection has completed successfully.
Trait Implementations
impl Clone for AnnotateImageResponse[src]
fn clone(&self) -> AnnotateImageResponse[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for AnnotateImageResponse[src]
impl Default for AnnotateImageResponse[src]
fn default() -> AnnotateImageResponse[src]
impl<'de> Deserialize<'de> for AnnotateImageResponse[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Part for AnnotateImageResponse[src]
impl Serialize for AnnotateImageResponse[src]
Auto Trait Implementations
impl RefUnwindSafe for AnnotateImageResponse
impl Send for AnnotateImageResponse
impl Sync for AnnotateImageResponse
impl Unpin for AnnotateImageResponse
impl UnwindSafe for AnnotateImageResponse
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,