#[repr(C)]pub struct llama_rs_chat_template_oaicompat_params {Show 13 fields
pub messages: *const c_char,
pub tools: *const c_char,
pub tool_choice: *const c_char,
pub json_schema: *const c_char,
pub grammar: *const c_char,
pub reasoning_format: *const c_char,
pub chat_template_kwargs: *const c_char,
pub add_generation_prompt: bool,
pub use_jinja: bool,
pub parallel_tool_calls: bool,
pub enable_thinking: bool,
pub add_bos: bool,
pub add_eos: bool,
}Fields§
§messages: *const c_char§tools: *const c_char§tool_choice: *const c_char§json_schema: *const c_char§grammar: *const c_char§reasoning_format: *const c_char§chat_template_kwargs: *const c_char§add_generation_prompt: bool§use_jinja: bool§parallel_tool_calls: bool§enable_thinking: bool§add_bos: bool§add_eos: boolTrait Implementations§
Source§impl Clone for llama_rs_chat_template_oaicompat_params
impl Clone for llama_rs_chat_template_oaicompat_params
Source§fn clone(&self) -> llama_rs_chat_template_oaicompat_params
fn clone(&self) -> llama_rs_chat_template_oaicompat_params
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for llama_rs_chat_template_oaicompat_params
impl PartialEq for llama_rs_chat_template_oaicompat_params
Source§fn eq(&self, other: &llama_rs_chat_template_oaicompat_params) -> bool
fn eq(&self, other: &llama_rs_chat_template_oaicompat_params) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for llama_rs_chat_template_oaicompat_params
impl StructuralPartialEq for llama_rs_chat_template_oaicompat_params
Auto Trait Implementations§
impl Freeze for llama_rs_chat_template_oaicompat_params
impl RefUnwindSafe for llama_rs_chat_template_oaicompat_params
impl !Send for llama_rs_chat_template_oaicompat_params
impl !Sync for llama_rs_chat_template_oaicompat_params
impl Unpin for llama_rs_chat_template_oaicompat_params
impl UnwindSafe for llama_rs_chat_template_oaicompat_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