Struct google_vision1::api::ProductSearchResults
source · pub struct ProductSearchResults {
pub index_time: Option<DateTime<Utc>>,
pub product_grouped_results: Option<Vec<GroupedResult>>,
pub results: Option<Vec<Result>>,
}
Expand description
Results for a product search request.
This type is not used in any activity, and only used as part of another schema.
Fields§
§index_time: Option<DateTime<Utc>>
Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.
product_grouped_results: Option<Vec<GroupedResult>>
List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.
results: Option<Vec<Result>>
List of results, one for each product match.
Trait Implementations§
source§impl Clone for ProductSearchResults
impl Clone for ProductSearchResults
source§fn clone(&self) -> ProductSearchResults
fn clone(&self) -> ProductSearchResults
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 ProductSearchResults
impl Debug for ProductSearchResults
source§impl Default for ProductSearchResults
impl Default for ProductSearchResults
source§fn default() -> ProductSearchResults
fn default() -> ProductSearchResults
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ProductSearchResults
impl<'de> Deserialize<'de> for ProductSearchResults
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 ProductSearchResults
impl Serialize for ProductSearchResults
impl Part for ProductSearchResults
Auto Trait Implementations§
impl RefUnwindSafe for ProductSearchResults
impl Send for ProductSearchResults
impl Sync for ProductSearchResults
impl Unpin for ProductSearchResults
impl UnwindSafe for ProductSearchResults
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