#[repr(C)]pub struct chat_shim_apply_params {Show 13 fields
pub messages_json: *const c_char,
pub tools_json: *const c_char,
pub grammar: *const c_char,
pub json_schema: *const c_char,
pub template_kwargs_json: *const c_char,
pub tool_choice: i32,
pub reasoning_format: i32,
pub add_generation_prompt: bool,
pub enable_thinking: bool,
pub parallel_tool_calls: bool,
pub use_jinja: bool,
pub add_bos: bool,
pub add_eos: bool,
}Fields§
§messages_json: *const c_char§tools_json: *const c_char§grammar: *const c_char§json_schema: *const c_char§template_kwargs_json: *const c_char§tool_choice: i32§reasoning_format: i32§add_generation_prompt: bool§enable_thinking: bool§parallel_tool_calls: bool§use_jinja: bool§add_bos: bool§add_eos: boolTrait Implementations§
Source§impl Clone for chat_shim_apply_params
impl Clone for chat_shim_apply_params
Source§fn clone(&self) -> chat_shim_apply_params
fn clone(&self) -> chat_shim_apply_params
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 moreimpl Copy for chat_shim_apply_params
Source§impl Debug for chat_shim_apply_params
impl Debug for chat_shim_apply_params
Source§impl PartialEq for chat_shim_apply_params
impl PartialEq for chat_shim_apply_params
impl StructuralPartialEq for chat_shim_apply_params
Auto Trait Implementations§
impl !Send for chat_shim_apply_params
impl !Sync for chat_shim_apply_params
impl Freeze for chat_shim_apply_params
impl RefUnwindSafe for chat_shim_apply_params
impl Unpin for chat_shim_apply_params
impl UnsafeUnpin for chat_shim_apply_params
impl UnwindSafe for chat_shim_apply_params
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