pub struct WebResult {
pub content: Option<String>,
pub engine: Option<String>,
pub title: Option<String>,
pub url: Option<String>,
}Fields§
§content: Option<String>Content is the ENGINE’s snippet — the few lines shown under the title, not the page’s text. Read the page itself with POST /v1/crawl.
engine: Option<String>Engine names the backend that found this hit, so one engine’s view of a query can be told from another’s.
title: Option<String>Title is the page’s title.
url: Option<String>URL is the page’s address, as the engine reported it.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WebResult
impl<'de> Deserialize<'de> for WebResult
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 StructuralPartialEq for WebResult
Auto Trait Implementations§
impl Freeze for WebResult
impl RefUnwindSafe for WebResult
impl Send for WebResult
impl Sync for WebResult
impl Unpin for WebResult
impl UnsafeUnpin for WebResult
impl UnwindSafe for WebResult
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