pub struct FetchRequest {
pub client: DeepSeekClient,
pub url: String,
}Expand description
Request body for POST /v1/tools/fetch.
Fields§
§client: DeepSeekClient§url: StringPossible values: non-empty and <= 8192 characters
The URL to fetch. Must be at most 8192 characters and an HTTP or HTTPS URL with a host. The URL must not contain a username or password.
Implementations§
Source§impl FetchRequest
impl FetchRequest
Sourcepub async fn send(self) -> Result<FetchResponse, DeepSeekError>
pub async fn send(self) -> Result<FetchResponse, DeepSeekError>
Send the fetch request.
Trait Implementations§
Source§impl Clone for FetchRequest
impl Clone for FetchRequest
Source§impl PartialEq for FetchRequest
impl PartialEq for FetchRequest
Source§impl Serialize for FetchRequest
impl Serialize for FetchRequest
impl StructuralPartialEq for FetchRequest
Auto Trait Implementations§
impl !RefUnwindSafe for FetchRequest
impl !UnwindSafe for FetchRequest
impl Forget for FetchRequest
impl Freeze for FetchRequest
impl Move for FetchRequest
impl Send for FetchRequest
impl Sync for FetchRequest
impl Unpin for FetchRequest
impl UnsafeUnpin for FetchRequest
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