pub enum ZaiRegion {
China,
International,
}Expand description
ZAI (GLM/Zhipu) AI provider regions
Variants§
Implementations§
Source§impl ZaiRegion
impl ZaiRegion
pub fn display_name(&self) -> &'static str
pub fn description(&self) -> &'static str
pub fn base_url(&self) -> &'static str
pub fn model_name(&self) -> &'static str
pub fn small_fast_model(&self) -> &'static str
pub fn api_key_url(&self) -> &'static str
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ZaiRegion
impl RefUnwindSafe for ZaiRegion
impl Send for ZaiRegion
impl Sync for ZaiRegion
impl Unpin for ZaiRegion
impl UnwindSafe for ZaiRegion
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