pub enum KimiVariant {
K2,
K2Thinking,
KimiForCoding,
}Expand description
Kimi/Moonshot service variants
Variants§
Implementations§
Source§impl KimiVariant
impl KimiVariant
pub fn display_name(&self) -> &'static str
pub fn description(&self) -> &'static str
pub fn model_name(&self) -> &'static str
pub fn api_base(&self) -> &'static str
pub fn api_key_url(&self) -> &'static str
pub fn env_var_name(&self) -> &'static str
Trait Implementations§
Source§impl Clone for KimiVariant
impl Clone for KimiVariant
Source§fn clone(&self) -> KimiVariant
fn clone(&self) -> KimiVariant
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 moreAuto Trait Implementations§
impl Freeze for KimiVariant
impl RefUnwindSafe for KimiVariant
impl Send for KimiVariant
impl Sync for KimiVariant
impl Unpin for KimiVariant
impl UnwindSafe for KimiVariant
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