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