pub struct WebEntity {
pub description: Option<String>,
pub entity_id: Option<String>,
pub score: Option<f32>,
}Expand description
Entity deduced from similar images on the Internet.
This type is not used in any activity, and only used as part of another schema.
Fields§
§description: Option<String>Canonical description of the entity, in English.
entity_id: Option<String>Opaque entity ID.
score: Option<f32>Overall relevancy score for the entity. Not normalized and not comparable across different image queries.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WebEntity
impl<'de> Deserialize<'de> for WebEntity
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
impl Part for WebEntity
Auto Trait Implementations§
impl Freeze for WebEntity
impl RefUnwindSafe for WebEntity
impl Send for WebEntity
impl Sync for WebEntity
impl Unpin for WebEntity
impl UnwindSafe for WebEntity
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