pub struct OpenAIRequest {
pub method: Method,
pub parameter: Option<Parameter>,
pub url: Url,
}
Expand description
The request object.
Fields§
§method: Method
The HTTP method.
parameter: Option<Parameter>
The parameter object (request body).
url: Url
The URL.
Implementations§
Auto Trait Implementations§
impl Freeze for OpenAIRequest
impl RefUnwindSafe for OpenAIRequest
impl Send for OpenAIRequest
impl Sync for OpenAIRequest
impl Unpin for OpenAIRequest
impl UnwindSafe for OpenAIRequest
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