#[non_exhaustive]pub struct WebSearchTool20260318 {
pub name: WebSearchTool20260318Name,
pub type_: WebSearchTool20260318Type,
pub allowed_callers: Option<Vec<AllowedCaller>>,
pub allowed_domains: Option<Vec<String>>,
pub blocked_domains: Option<Vec<String>>,
pub cache_control: Option<CacheControl>,
pub defer_loading: Option<bool>,
pub max_uses: Option<i64>,
pub response_inclusion: Option<ResponseInclusion>,
pub strict: Option<bool>,
pub user_location: Option<UserLocation>,
pub rest: Rest,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: WebSearchTool20260318Name§type_: WebSearchTool20260318Type§allowed_callers: Option<Vec<AllowedCaller>>§allowed_domains: Option<Vec<String>>§blocked_domains: Option<Vec<String>>§cache_control: Option<CacheControl>§defer_loading: Option<bool>§max_uses: Option<i64>§response_inclusion: Option<ResponseInclusion>§strict: Option<bool>§user_location: Option<UserLocation>§rest: RestImplementations§
Source§impl WebSearchTool20260318
impl WebSearchTool20260318
Sourcepub fn builder(
name: WebSearchTool20260318Name,
type_: WebSearchTool20260318Type,
) -> WebSearchTool20260318Builder
pub fn builder( name: WebSearchTool20260318Name, type_: WebSearchTool20260318Type, ) -> WebSearchTool20260318Builder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for WebSearchTool20260318
impl Clone for WebSearchTool20260318
Source§impl Debug for WebSearchTool20260318
impl Debug for WebSearchTool20260318
Source§impl DeclaredFields for WebSearchTool20260318
impl DeclaredFields for WebSearchTool20260318
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for WebSearchTool20260318
impl<'de> Deserialize<'de> for WebSearchTool20260318
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WebSearchTool20260318
Source§impl PartialEq for WebSearchTool20260318
impl PartialEq for WebSearchTool20260318
Source§impl Serialize for WebSearchTool20260318
impl Serialize for WebSearchTool20260318
impl StructuralPartialEq for WebSearchTool20260318
Auto Trait Implementations§
impl Freeze for WebSearchTool20260318
impl RefUnwindSafe for WebSearchTool20260318
impl Send for WebSearchTool20260318
impl Sync for WebSearchTool20260318
impl Unpin for WebSearchTool20260318
impl UnsafeUnpin for WebSearchTool20260318
impl UnwindSafe for WebSearchTool20260318
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