pub struct WebDetection {
pub best_guess_labels: Option<Vec<WebLabel>>,
pub full_matching_images: Option<Vec<WebImage>>,
pub pages_with_matching_images: Option<Vec<WebPage>>,
pub partial_matching_images: Option<Vec<WebImage>>,
pub visually_similar_images: Option<Vec<WebImage>>,
pub web_entities: Option<Vec<WebEntity>>,
}Expand description
Relevant information for the image from the Internet.
This type is not used in any activity, and only used as part of another schema.
Fields§
§best_guess_labels: Option<Vec<WebLabel>>The service’s best guess as to the topic of the request image. Inferred from similar images on the open web.
full_matching_images: Option<Vec<WebImage>>Fully matching images from the Internet. Can include resized copies of the query image.
pages_with_matching_images: Option<Vec<WebPage>>Web pages containing the matching images from the Internet.
partial_matching_images: Option<Vec<WebImage>>Partial matching images from the Internet. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.
visually_similar_images: Option<Vec<WebImage>>The visually similar image results.
web_entities: Option<Vec<WebEntity>>Deduced entities from similar images on the Internet.
Trait Implementations§
Source§impl Clone for WebDetection
impl Clone for WebDetection
Source§fn clone(&self) -> WebDetection
fn clone(&self) -> WebDetection
Returns a duplicate 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 WebDetection
impl Debug for WebDetection
Source§impl Default for WebDetection
impl Default for WebDetection
Source§fn default() -> WebDetection
fn default() -> WebDetection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebDetection
impl<'de> Deserialize<'de> for WebDetection
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 WebDetection
impl Serialize for WebDetection
impl Part for WebDetection
Auto Trait Implementations§
impl Freeze for WebDetection
impl RefUnwindSafe for WebDetection
impl Send for WebDetection
impl Sync for WebDetection
impl Unpin for WebDetection
impl UnwindSafe for WebDetection
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