pub struct ChatDeleteRequest<'a> {
pub completion_id: &'a str,
}Expand description
Delete a stored chat completion.
Only Chat Completions that have been created
with the store parameter set to true can be deleted.
Fields§
§completion_id: &'a strTrait Implementations§
Source§impl<'a> Clone for ChatDeleteRequest<'a>
impl<'a> Clone for ChatDeleteRequest<'a>
Source§fn clone(&self) -> ChatDeleteRequest<'a>
fn clone(&self) -> ChatDeleteRequest<'a>
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<'a> Debug for ChatDeleteRequest<'a>
impl<'a> Debug for ChatDeleteRequest<'a>
Source§impl Delete for ChatDeleteRequest<'_>
impl Delete for ChatDeleteRequest<'_>
Source§impl DeleteNoStream for ChatDeleteRequest<'_>
impl DeleteNoStream for ChatDeleteRequest<'_>
type Response = ChatCompletionDeleted
fn get_response_string( &self, base_url: &str, key: &str, ) -> impl Future<Output = Result<String, OapiError>> + Send + Sync
fn get_response( &self, base_url: &str, key: &str, ) -> impl Future<Output = Result<Self::Response, OapiError>> + Send + Sync
Auto Trait Implementations§
impl<'a> Freeze for ChatDeleteRequest<'a>
impl<'a> RefUnwindSafe for ChatDeleteRequest<'a>
impl<'a> Send for ChatDeleteRequest<'a>
impl<'a> Sync for ChatDeleteRequest<'a>
impl<'a> Unpin for ChatDeleteRequest<'a>
impl<'a> UnwindSafe for ChatDeleteRequest<'a>
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