pub enum HostedToolOptions {
WebSearch(WebSearchOptions),
}Expand description
Provider-neutral options for one hosted tool definition.
Variants§
WebSearch(WebSearchOptions)
Hosted web-search policy.
Implementations§
Source§impl HostedToolOptions
impl HostedToolOptions
Sourcepub const fn kind(&self) -> HostedToolKind
pub const fn kind(&self) -> HostedToolKind
Returns the hosted capability kind required by these options.
Sourcepub const fn web_search(&self) -> &WebSearchOptions
pub const fn web_search(&self) -> &WebSearchOptions
Returns web-search options.
Trait Implementations§
Source§impl Clone for HostedToolOptions
impl Clone for HostedToolOptions
Source§fn clone(&self) -> HostedToolOptions
fn clone(&self) -> HostedToolOptions
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 HostedToolOptions
impl Debug for HostedToolOptions
impl Eq for HostedToolOptions
Source§impl PartialEq for HostedToolOptions
impl PartialEq for HostedToolOptions
impl StructuralPartialEq for HostedToolOptions
Auto Trait Implementations§
impl Freeze for HostedToolOptions
impl RefUnwindSafe for HostedToolOptions
impl Send for HostedToolOptions
impl Sync for HostedToolOptions
impl Unpin for HostedToolOptions
impl UnsafeUnpin for HostedToolOptions
impl UnwindSafe for HostedToolOptions
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