pub struct Chat { /* private fields */ }Expand description
Accessor for chat endpoints: client.chat().completions().
Implementations§
Source§impl Chat
impl Chat
pub fn completions(&self) -> ChatCompletions
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Chat
impl !UnwindSafe for Chat
impl Freeze for Chat
impl Send for Chat
impl Sync for Chat
impl Unpin for Chat
impl UnsafeUnpin for Chat
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