pub struct Report {
pub answer: Option<String>,
pub follow_ups: Option<Vec<String>>,
pub mode: Option<String>,
pub model: Option<String>,
pub sources: Option<Vec<Source>>,
}Fields§
§answer: Option<String>Answer is the grounded prose, with inline markdown citations. Every link in it points at a page in Sources: the citation check runs on the text before it leaves the engine, so a cited URL is one THIS call fetched.
follow_ups: Option<Vec<String>>FollowUps are the questions worth asking next. Best-effort — an empty list is a normal outcome, not a fault.
mode: Option<String>Mode is the profile that ran: search, news, research or deep.
model: Option<String>Model is the model that synthesized the answer.
sources: Option<Vec<Source>>Sources are the pages the answer was written from, deduplicated and ranked. Always an array, never null.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Report
impl<'de> Deserialize<'de> for Report
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 Report
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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