pub struct K2Template;Expand description
K2 AI provider template
Trait Implementations§
Source§impl Clone for K2Template
impl Clone for K2Template
Source§fn clone(&self) -> K2Template
fn clone(&self) -> K2Template
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 K2Template
impl Debug for K2Template
Source§impl Template for K2Template
impl Template for K2Template
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 K2Template
impl RefUnwindSafe for K2Template
impl Send for K2Template
impl Sync for K2Template
impl Unpin for K2Template
impl UnwindSafe for K2Template
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