pub struct AiModel {
pub enabled: bool,
pub provider: AiProvider,
pub commands: AiCommandsModel,
}Fields§
§enabled: bool§provider: AiProvider§commands: AiCommandsModelImplementations§
Source§impl AiModel
impl AiModel
pub fn from_config(config: &ResolvedConfig) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AiModel
impl RefUnwindSafe for AiModel
impl Send for AiModel
impl Sync for AiModel
impl Unpin for AiModel
impl UnsafeUnpin for AiModel
impl UnwindSafe for AiModel
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