pub struct Infobox {
pub title: String,
pub description: String,
pub url: Option<String>,
}Expand description
An infobox (knowledge panel) result.
Fields§
§title: StringInfobox title.
description: StringLong description.
url: Option<String>Source URL.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Infobox
impl<'de> Deserialize<'de> for Infobox
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
Auto Trait Implementations§
impl Freeze for Infobox
impl RefUnwindSafe for Infobox
impl Send for Infobox
impl Sync for Infobox
impl Unpin for Infobox
impl UnsafeUnpin for Infobox
impl UnwindSafe for Infobox
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