pub struct DeepSeekClient { /* private fields */ }
Implementations§
Source§impl DeepSeekClient
impl DeepSeekClient
Sourcepub fn new(config: DeepSeekConfig) -> Self
pub fn new(config: DeepSeekConfig) -> Self
Create a new DeepSeek client with full configuration
Trait Implementations§
Source§impl Clone for DeepSeekClient
impl Clone for DeepSeekClient
Source§fn clone(&self) -> DeepSeekClient
fn clone(&self) -> DeepSeekClient
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 moreSource§impl Debug for DeepSeekClient
impl Debug for DeepSeekClient
Source§impl Default for DeepSeekClient
impl Default for DeepSeekClient
Source§impl LowLevelClient for DeepSeekClient
impl LowLevelClient for DeepSeekClient
Source§fn ask_raw<'life0, 'async_trait>(
&'life0 self,
prompt: String,
) -> Pin<Box<dyn Future<Output = Result<String, AIError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ask_raw<'life0, 'async_trait>(
&'life0 self,
prompt: String,
) -> Pin<Box<dyn Future<Output = Result<String, AIError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
The only method that implementations must provide
Source§fn clone_box(&self) -> Box<dyn LowLevelClient>
fn clone_box(&self) -> Box<dyn LowLevelClient>
Clone this client into a boxed trait object
Auto Trait Implementations§
impl Freeze for DeepSeekClient
impl !RefUnwindSafe for DeepSeekClient
impl Send for DeepSeekClient
impl Sync for DeepSeekClient
impl Unpin for DeepSeekClient
impl !UnwindSafe for DeepSeekClient
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