pub struct K2ThinkingTemplate;Expand description
K2 Thinking AI provider template
Trait Implementations§
Source§impl Clone for K2ThinkingTemplate
impl Clone for K2ThinkingTemplate
Source§fn clone(&self) -> K2ThinkingTemplate
fn clone(&self) -> K2ThinkingTemplate
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 Debug for K2ThinkingTemplate
impl Debug for K2ThinkingTemplate
Source§impl Template for K2ThinkingTemplate
impl Template for K2ThinkingTemplate
Source§fn template_type(&self) -> TemplateType
fn template_type(&self) -> TemplateType
Get the template type identifier
Source§fn env_var_name(&self) -> &'static str
fn env_var_name(&self) -> &'static str
Get the environment variable name for the API key
Source§fn display_name(&self) -> &'static str
fn display_name(&self) -> &'static str
Get display name for the template
Source§fn description(&self) -> &'static str
fn description(&self) -> &'static str
Get description for the template
Source§fn create_settings(
&self,
api_key: &str,
scope: &SnapshotScope,
) -> ClaudeSettings
fn create_settings( &self, api_key: &str, scope: &SnapshotScope, ) -> ClaudeSettings
Create Claude settings for this template
Source§fn requires_additional_config(&self) -> bool
fn requires_additional_config(&self) -> bool
Check if this template requires additional configuration (like endpoint ID)
Auto Trait Implementations§
impl Freeze for K2ThinkingTemplate
impl RefUnwindSafe for K2ThinkingTemplate
impl Send for K2ThinkingTemplate
impl Sync for K2ThinkingTemplate
impl Unpin for K2ThinkingTemplate
impl UnwindSafe for K2ThinkingTemplate
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