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