pub struct Ad {
pub position: Option<u32>,
pub title: String,
pub link: String,
pub displayed_link: Option<String>,
pub description: Option<String>,
pub sitelinks: Option<Vec<SiteLink>>,
}
Expand description
Advertisement result
Fields§
§position: Option<u32>
§title: String
§link: String
§displayed_link: Option<String>
§description: Option<String>
§sitelinks: Option<Vec<SiteLink>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ad
impl<'de> Deserialize<'de> for Ad
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 Ad
impl RefUnwindSafe for Ad
impl Send for Ad
impl Sync for Ad
impl Unpin for Ad
impl UnwindSafe for Ad
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