Struct google_vision1::api::AnnotateImageRequest
source · pub struct AnnotateImageRequest {
pub features: Option<Vec<Feature>>,
pub image: Option<Image>,
pub image_context: Option<ImageContext>,
}
Expand description
Request for performing Google Cloud Vision API tasks over a user-provided image, with user-requested features, and with context information.
This type is not used in any activity, and only used as part of another schema.
Fields§
§features: Option<Vec<Feature>>
Requested features.
image: Option<Image>
The image to be processed.
image_context: Option<ImageContext>
Additional context that may accompany the image.
Trait Implementations§
source§impl Clone for AnnotateImageRequest
impl Clone for AnnotateImageRequest
source§fn clone(&self) -> AnnotateImageRequest
fn clone(&self) -> AnnotateImageRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AnnotateImageRequest
impl Debug for AnnotateImageRequest
source§impl Default for AnnotateImageRequest
impl Default for AnnotateImageRequest
source§fn default() -> AnnotateImageRequest
fn default() -> AnnotateImageRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AnnotateImageRequest
impl<'de> Deserialize<'de> for AnnotateImageRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for AnnotateImageRequest
impl Serialize for AnnotateImageRequest
impl Part for AnnotateImageRequest
Auto Trait Implementations§
impl RefUnwindSafe for AnnotateImageRequest
impl Send for AnnotateImageRequest
impl Sync for AnnotateImageRequest
impl Unpin for AnnotateImageRequest
impl UnwindSafe for AnnotateImageRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more