pub struct DefaultChatClient { /* private fields */ }Trait Implementations§
Source§impl ChatClient for DefaultChatClient
impl ChatClient for DefaultChatClient
fn prompt(&self, prompt: Prompt) -> impl ChatClientRequestSpec
fn prompt_from_content<T>(&self, message: T) -> impl ChatClientRequestSpec
fn prompt_from_default(&self) -> impl ChatClientRequestSpec
Auto Trait Implementations§
impl !Freeze for DefaultChatClient
impl !RefUnwindSafe for DefaultChatClient
impl Send for DefaultChatClient
impl Sync for DefaultChatClient
impl Unpin for DefaultChatClient
impl !UnwindSafe for DefaultChatClient
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