pub struct WebSearchTool20260318Builder(/* private fields */);Expand description
Builder for WebSearchTool20260318.
Implementations§
Source§impl WebSearchTool20260318Builder
impl WebSearchTool20260318Builder
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 defer_loading(self, value: impl Into<bool>) -> 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 user_location(self, value: impl Into<UserLocation>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> WebSearchTool20260318
pub fn build(self) -> WebSearchTool20260318
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for WebSearchTool20260318Builder
impl RefUnwindSafe for WebSearchTool20260318Builder
impl Send for WebSearchTool20260318Builder
impl Sync for WebSearchTool20260318Builder
impl Unpin for WebSearchTool20260318Builder
impl UnsafeUnpin for WebSearchTool20260318Builder
impl UnwindSafe for WebSearchTool20260318Builder
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