#[repr(C)]pub struct chat_shim_parse_params {
pub text: *const c_char,
pub parser: *const c_char,
pub generation_prompt: *const c_char,
pub format: i32,
pub reasoning_format: i32,
pub is_partial: bool,
pub parse_tool_calls: bool,
pub reasoning_in_content: bool,
}Fields§
§text: *const c_char§parser: *const c_char§generation_prompt: *const c_char§format: i32§reasoning_format: i32§is_partial: bool§parse_tool_calls: bool§reasoning_in_content: boolTrait Implementations§
Source§impl Clone for chat_shim_parse_params
impl Clone for chat_shim_parse_params
Source§fn clone(&self) -> chat_shim_parse_params
fn clone(&self) -> chat_shim_parse_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_parse_params
Source§impl Debug for chat_shim_parse_params
impl Debug for chat_shim_parse_params
Source§impl PartialEq for chat_shim_parse_params
impl PartialEq for chat_shim_parse_params
impl StructuralPartialEq for chat_shim_parse_params
Auto Trait Implementations§
impl !Send for chat_shim_parse_params
impl !Sync for chat_shim_parse_params
impl Freeze for chat_shim_parse_params
impl RefUnwindSafe for chat_shim_parse_params
impl Unpin for chat_shim_parse_params
impl UnsafeUnpin for chat_shim_parse_params
impl UnwindSafe for chat_shim_parse_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