Struct google_vision1::api::ImageAnnotationContext
source · pub struct ImageAnnotationContext {
pub page_number: Option<i32>,
pub uri: Option<String>,
}
Expand description
If an image was produced from a file (e.g. a PDF), this message gives information about the source of that image.
This type is not used in any activity, and only used as part of another schema.
Fields§
§page_number: Option<i32>
If the file was a PDF or TIFF, this field gives the page number within the file used to produce the image.
uri: Option<String>
The URI of the file used to produce the image.
Trait Implementations§
source§impl Clone for ImageAnnotationContext
impl Clone for ImageAnnotationContext
source§fn clone(&self) -> ImageAnnotationContext
fn clone(&self) -> ImageAnnotationContext
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 ImageAnnotationContext
impl Debug for ImageAnnotationContext
source§impl Default for ImageAnnotationContext
impl Default for ImageAnnotationContext
source§fn default() -> ImageAnnotationContext
fn default() -> ImageAnnotationContext
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ImageAnnotationContext
impl<'de> Deserialize<'de> for ImageAnnotationContext
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 ImageAnnotationContext
impl Serialize for ImageAnnotationContext
impl Part for ImageAnnotationContext
Auto Trait Implementations§
impl RefUnwindSafe for ImageAnnotationContext
impl Send for ImageAnnotationContext
impl Sync for ImageAnnotationContext
impl Unpin for ImageAnnotationContext
impl UnwindSafe for ImageAnnotationContext
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