pub enum AiBackend {
Google {
url: String,
key: String,
},
OpenAI {
url: String,
model: String,
reasoning_effort: Option<String>,
key: String,
},
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AiBackend
impl RefUnwindSafe for AiBackend
impl Send for AiBackend
impl Sync for AiBackend
impl Unpin for AiBackend
impl UnwindSafe for AiBackend
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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