pub struct AiDigestConfig {
pub base_url: String,
pub api_key: String,
pub model: String,
}Expand description
Endpoint + credentials for an OpenAI-compatible chat API.
Fields§
§base_url: Stringe.g. https://api.deepseek.com (no trailing slash).
api_key: StringBearer token.
model: StringChat model id, e.g. deepseek-chat.
Trait Implementations§
Source§impl Clone for AiDigestConfig
impl Clone for AiDigestConfig
Auto Trait Implementations§
impl Freeze for AiDigestConfig
impl RefUnwindSafe for AiDigestConfig
impl Send for AiDigestConfig
impl Sync for AiDigestConfig
impl Unpin for AiDigestConfig
impl UnsafeUnpin for AiDigestConfig
impl UnwindSafe for AiDigestConfig
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