pub struct WebSearchOutput {
pub query: String,
pub retrieved_at: DateTime<Utc>,
pub context: Option<String>,
pub results: Vec<WebSearchResultCard>,
}Expand description
Output from the web_search tool.
Fields§
§query: StringThe original search query
retrieved_at: DateTime<Utc>When the search was performed
context: Option<String>Trimmed orientation context from Exa (if available)
results: Vec<WebSearchResultCard>Compact, citable result cards
Trait Implementations§
Source§impl Clone for WebSearchOutput
impl Clone for WebSearchOutput
Source§fn clone(&self) -> WebSearchOutput
fn clone(&self) -> WebSearchOutput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WebSearchOutput
impl Debug for WebSearchOutput
Source§impl JsonSchema for WebSearchOutput
impl JsonSchema for WebSearchOutput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Serialize for WebSearchOutput
impl Serialize for WebSearchOutput
Source§impl TextFormat for WebSearchOutput
impl TextFormat for WebSearchOutput
Auto Trait Implementations§
impl Freeze for WebSearchOutput
impl RefUnwindSafe for WebSearchOutput
impl Send for WebSearchOutput
impl Sync for WebSearchOutput
impl Unpin for WebSearchOutput
impl UnwindSafe for WebSearchOutput
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