pub struct ResponseAllowedToolChoice {
pub mode: AllowedToolsMode,
pub tools: Vec<ResponseAllowedTool>,
pub type_: AllowedToolsType,
pub extra: Extra,
}Fields§
§mode: AllowedToolsMode§tools: Vec<ResponseAllowedTool>§type_: AllowedToolsType§extra: ExtraTrait Implementations§
Source§impl Clone for ResponseAllowedToolChoice
impl Clone for ResponseAllowedToolChoice
Source§fn clone(&self) -> ResponseAllowedToolChoice
fn clone(&self) -> ResponseAllowedToolChoice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResponseAllowedToolChoice
impl Debug for ResponseAllowedToolChoice
Source§impl<'de> Deserialize<'de> for ResponseAllowedToolChoice
impl<'de> Deserialize<'de> for ResponseAllowedToolChoice
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 StructuralPartialEq for ResponseAllowedToolChoice
Auto Trait Implementations§
impl Freeze for ResponseAllowedToolChoice
impl RefUnwindSafe for ResponseAllowedToolChoice
impl Send for ResponseAllowedToolChoice
impl Sync for ResponseAllowedToolChoice
impl Unpin for ResponseAllowedToolChoice
impl UnsafeUnpin for ResponseAllowedToolChoice
impl UnwindSafe for ResponseAllowedToolChoice
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