pub struct RelatedQuestion {
pub question: String,
pub snippet: Option<String>,
pub title: Option<String>,
pub link: Option<String>,
}
Expand description
Related question from “People also ask”
Fields§
§question: String
The question text
snippet: Option<String>
Snippet answering the question (optional)
title: Option<String>
Source title (optional)
link: Option<String>
Source link (optional)
Trait Implementations§
Source§impl Debug for RelatedQuestion
impl Debug for RelatedQuestion
Source§impl<'de> Deserialize<'de> for RelatedQuestion
impl<'de> Deserialize<'de> for RelatedQuestion
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 PartialEq for RelatedQuestion
impl PartialEq for RelatedQuestion
impl StructuralPartialEq for RelatedQuestion
Auto Trait Implementations§
impl Freeze for RelatedQuestion
impl RefUnwindSafe for RelatedQuestion
impl Send for RelatedQuestion
impl Sync for RelatedQuestion
impl Unpin for RelatedQuestion
impl UnwindSafe for RelatedQuestion
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