pub struct UrlContextExchange {
pub call_id: Option<String>,
pub calls: Vec<UrlContextCallContent>,
pub results: Vec<UrlContextResultContent>,
}Expand description
Groups URL context tool calls and results for a single interaction.
Fields§
§call_id: Option<String>Call identifier used to match calls to results.
calls: Vec<UrlContextCallContent>One or more URL context tool calls.
results: Vec<UrlContextResultContent>One or more URL context tool results.
Implementations§
Source§impl UrlContextExchange
impl UrlContextExchange
Sourcepub fn result_items(&self) -> Vec<UrlContextResult>
pub fn result_items(&self) -> Vec<UrlContextResult>
Collects all URL context result entries from tool results.
Trait Implementations§
Source§impl Clone for UrlContextExchange
impl Clone for UrlContextExchange
Source§fn clone(&self) -> UrlContextExchange
fn clone(&self) -> UrlContextExchange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UrlContextExchange
impl Debug for UrlContextExchange
Source§impl Default for UrlContextExchange
impl Default for UrlContextExchange
Source§fn default() -> UrlContextExchange
fn default() -> UrlContextExchange
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UrlContextExchange
impl RefUnwindSafe for UrlContextExchange
impl Send for UrlContextExchange
impl Sync for UrlContextExchange
impl Unpin for UrlContextExchange
impl UnsafeUnpin for UrlContextExchange
impl UnwindSafe for UrlContextExchange
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