#[non_exhaustive]pub struct WebFetchTool20260309 {Show 13 fields
pub name: WebFetchTool20260309Name,
pub type_: WebFetchTool20260309Type,
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 use_cache: 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: WebFetchTool20260309Name§type_: WebFetchTool20260309Type§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>§use_cache: Option<bool>§rest: RestImplementations§
Source§impl WebFetchTool20260309
impl WebFetchTool20260309
Sourcepub fn builder(
name: WebFetchTool20260309Name,
type_: WebFetchTool20260309Type,
) -> WebFetchTool20260309Builder
pub fn builder( name: WebFetchTool20260309Name, type_: WebFetchTool20260309Type, ) -> WebFetchTool20260309Builder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for WebFetchTool20260309
impl Clone for WebFetchTool20260309
Source§impl Debug for WebFetchTool20260309
impl Debug for WebFetchTool20260309
Source§impl DeclaredFields for WebFetchTool20260309
impl DeclaredFields for WebFetchTool20260309
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for WebFetchTool20260309
impl<'de> Deserialize<'de> for WebFetchTool20260309
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 WebFetchTool20260309
Source§impl PartialEq for WebFetchTool20260309
impl PartialEq for WebFetchTool20260309
Source§impl Serialize for WebFetchTool20260309
impl Serialize for WebFetchTool20260309
impl StructuralPartialEq for WebFetchTool20260309
Auto Trait Implementations§
impl Freeze for WebFetchTool20260309
impl RefUnwindSafe for WebFetchTool20260309
impl Send for WebFetchTool20260309
impl Sync for WebFetchTool20260309
impl Unpin for WebFetchTool20260309
impl UnsafeUnpin for WebFetchTool20260309
impl UnwindSafe for WebFetchTool20260309
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