pub struct ChatResource { /* private fields */ }Expand description
聊天资源命名空间。
Implementations§
Source§impl ChatResource
impl ChatResource
Sourcepub fn completions(&self) -> ChatCompletionsResource
pub fn completions(&self) -> ChatCompletionsResource
返回聊天补全资源。
Trait Implementations§
Source§impl Clone for ChatResource
impl Clone for ChatResource
Source§fn clone(&self) -> ChatResource
fn clone(&self) -> ChatResource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ChatResource
impl !RefUnwindSafe for ChatResource
impl Send for ChatResource
impl Sync for ChatResource
impl Unpin for ChatResource
impl UnsafeUnpin for ChatResource
impl !UnwindSafe for ChatResource
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