#[non_exhaustive]pub struct WebFetchTool20250910 {
pub name: WebFetchTool20250910Name,
pub type_: WebFetchTool20250910Type,
pub allowed_callers: Option<Vec<AllowedCaller>>,
pub allowed_domains: Option<Vec<String>>,
pub blocked_domains: Option<Vec<String>>,
pub cache_control: Option<CacheControl>,
pub citations: Option<CitationsConfig>,
pub defer_loading: Option<bool>,
pub max_content_tokens: Option<i64>,
pub max_uses: Option<i64>,
pub strict: Option<bool>,
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: WebFetchTool20250910Name§type_: WebFetchTool20250910Type§allowed_callers: Option<Vec<AllowedCaller>>§allowed_domains: Option<Vec<String>>§blocked_domains: Option<Vec<String>>§cache_control: Option<CacheControl>§citations: Option<CitationsConfig>§defer_loading: Option<bool>§max_content_tokens: Option<i64>§max_uses: Option<i64>§strict: Option<bool>§rest: RestImplementations§
Source§impl WebFetchTool20250910
impl WebFetchTool20250910
Sourcepub fn builder(
name: WebFetchTool20250910Name,
type_: WebFetchTool20250910Type,
) -> WebFetchTool20250910Builder
pub fn builder( name: WebFetchTool20250910Name, type_: WebFetchTool20250910Type, ) -> WebFetchTool20250910Builder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for WebFetchTool20250910
impl Clone for WebFetchTool20250910
Source§impl Debug for WebFetchTool20250910
impl Debug for WebFetchTool20250910
Source§impl DeclaredFields for WebFetchTool20250910
impl DeclaredFields for WebFetchTool20250910
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for WebFetchTool20250910
impl<'de> Deserialize<'de> for WebFetchTool20250910
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 WebFetchTool20250910
Source§impl PartialEq for WebFetchTool20250910
impl PartialEq for WebFetchTool20250910
Source§impl Serialize for WebFetchTool20250910
impl Serialize for WebFetchTool20250910
impl StructuralPartialEq for WebFetchTool20250910
Auto Trait Implementations§
impl Freeze for WebFetchTool20250910
impl RefUnwindSafe for WebFetchTool20250910
impl Send for WebFetchTool20250910
impl Sync for WebFetchTool20250910
impl Unpin for WebFetchTool20250910
impl UnsafeUnpin for WebFetchTool20250910
impl UnwindSafe for WebFetchTool20250910
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