#[repr(C)]pub struct chat_shim_apply_result {
pub prompt_off: usize,
pub grammar_off: usize,
pub grammar_triggers_off: usize,
pub preserved_tokens_off: usize,
pub additional_stops_off: usize,
pub parser_off: usize,
pub generation_prompt_off: usize,
pub thinking_start_tag_off: usize,
pub thinking_end_tags_off: usize,
pub format: i32,
pub grammar_lazy: bool,
pub supports_thinking: bool,
}Fields§
§prompt_off: usize§grammar_off: usize§grammar_triggers_off: usize§preserved_tokens_off: usize§additional_stops_off: usize§parser_off: usize§generation_prompt_off: usize§thinking_start_tag_off: usize§format: i32§grammar_lazy: bool§supports_thinking: boolTrait Implementations§
Source§impl Clone for chat_shim_apply_result
impl Clone for chat_shim_apply_result
Source§fn clone(&self) -> chat_shim_apply_result
fn clone(&self) -> chat_shim_apply_result
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_result
Source§impl Debug for chat_shim_apply_result
impl Debug for chat_shim_apply_result
Source§impl PartialEq for chat_shim_apply_result
impl PartialEq for chat_shim_apply_result
impl StructuralPartialEq for chat_shim_apply_result
Auto Trait Implementations§
impl Freeze for chat_shim_apply_result
impl RefUnwindSafe for chat_shim_apply_result
impl Send for chat_shim_apply_result
impl Sync for chat_shim_apply_result
impl Unpin for chat_shim_apply_result
impl UnsafeUnpin for chat_shim_apply_result
impl UnwindSafe for chat_shim_apply_result
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