pub struct DeleteStoredCompletionResponse {
pub id: String,
pub object: String,
pub deleted: bool,
}Expand description
Response to delete a stored completion.
Fields§
§id: StringThe response_id to be deleted.
object: StringThe deleted object type, which is always response.
deleted: boolWhether the response was successfully deleted.
Trait Implementations§
Source§impl Clone for DeleteStoredCompletionResponse
impl Clone for DeleteStoredCompletionResponse
Source§fn clone(&self) -> DeleteStoredCompletionResponse
fn clone(&self) -> DeleteStoredCompletionResponse
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 Default for DeleteStoredCompletionResponse
impl Default for DeleteStoredCompletionResponse
Source§fn default() -> DeleteStoredCompletionResponse
fn default() -> DeleteStoredCompletionResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeleteStoredCompletionResponse
impl<'de> Deserialize<'de> for DeleteStoredCompletionResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DeleteStoredCompletionResponse
impl PartialEq for DeleteStoredCompletionResponse
Source§fn eq(&self, other: &DeleteStoredCompletionResponse) -> bool
fn eq(&self, other: &DeleteStoredCompletionResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeleteStoredCompletionResponse
Auto Trait Implementations§
impl Freeze for DeleteStoredCompletionResponse
impl RefUnwindSafe for DeleteStoredCompletionResponse
impl Send for DeleteStoredCompletionResponse
impl Sync for DeleteStoredCompletionResponse
impl Unpin for DeleteStoredCompletionResponse
impl UnwindSafe for DeleteStoredCompletionResponse
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