pub struct QwenConfig {
pub api_key: String,
pub base_url: String,
pub model: String,
}Expand description
Configuration for a Qwen model served through Alibaba Cloud Model Studio’s OpenAI-compatible API.
Fields§
§api_key: StringAPI key sent as a bearer token.
base_url: StringAPI base URL ending in the OpenAI-compatible version path.
model: StringQwen model identifier sent with each request.
Auto Trait Implementations§
impl Freeze for QwenConfig
impl RefUnwindSafe for QwenConfig
impl Send for QwenConfig
impl Sync for QwenConfig
impl Unpin for QwenConfig
impl UnsafeUnpin for QwenConfig
impl UnwindSafe for QwenConfig
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