pub struct WebFetchTool20260318Builder(/* private fields */);Expand description
Builder for WebFetchTool20260318.
Implementations§
Source§impl WebFetchTool20260318Builder
impl WebFetchTool20260318Builder
pub fn allowed_callers(self, value: impl Into<Vec<AllowedCaller>>) -> Self
pub fn allowed_domains(self, value: impl Into<Vec<String>>) -> Self
pub fn blocked_domains(self, value: impl Into<Vec<String>>) -> Self
pub fn cache_control(self, value: impl Into<CacheControl>) -> Self
pub fn citations(self, value: impl Into<CitationsConfig>) -> Self
pub fn defer_loading(self, value: impl Into<bool>) -> Self
pub fn max_content_tokens(self, value: impl Into<i64>) -> Self
pub fn max_uses(self, value: impl Into<i64>) -> Self
pub fn response_inclusion(self, value: impl Into<ResponseInclusion>) -> Self
pub fn strict(self, value: impl Into<bool>) -> Self
pub fn use_cache(self, value: impl Into<bool>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> WebFetchTool20260318
pub fn build(self) -> WebFetchTool20260318
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for WebFetchTool20260318Builder
impl RefUnwindSafe for WebFetchTool20260318Builder
impl Send for WebFetchTool20260318Builder
impl Sync for WebFetchTool20260318Builder
impl Unpin for WebFetchTool20260318Builder
impl UnsafeUnpin for WebFetchTool20260318Builder
impl UnwindSafe for WebFetchTool20260318Builder
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