pub struct ModelChatTemplate {
pub template: String,
pub source: String,
pub bos_token: Option<String>,
pub eos_token: Option<String>,
pub tool_call_protocol: ApiToolCallProtocol,
pub reasoning_protocol: ModelReasoningProtocol,
pub reasoning_default_enabled: bool,
}Fields§
§template: String§source: String§bos_token: Option<String>§eos_token: Option<String>§tool_call_protocol: ApiToolCallProtocol§reasoning_protocol: ModelReasoningProtocol§reasoning_default_enabled: boolImplementations§
Trait Implementations§
Source§impl Clone for ModelChatTemplate
impl Clone for ModelChatTemplate
Source§fn clone(&self) -> ModelChatTemplate
fn clone(&self) -> ModelChatTemplate
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 moreAuto Trait Implementations§
impl Freeze for ModelChatTemplate
impl RefUnwindSafe for ModelChatTemplate
impl Send for ModelChatTemplate
impl Sync for ModelChatTemplate
impl Unpin for ModelChatTemplate
impl UnsafeUnpin for ModelChatTemplate
impl UnwindSafe for ModelChatTemplate
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