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