pub struct EditResponse {
pub object: String,
pub created: i64,
pub usage: Usage,
pub choices: Vec<EditChoice>,
pub headers: Option<HashMap<String, String>>,
}
Expand description
Represents the response from an edit request.
Fields§
§object: String
Object type, typically “edit”.
created: i64
Timestamp of when the edit response was created.
usage: Usage
Usage information for the edit request.
choices: Vec<EditChoice>
List of edit choices.
headers: Option<HashMap<String, String>>
Optional headers from the response.
Trait Implementations§
Source§impl Debug for EditResponse
impl Debug for EditResponse
Source§impl<'de> Deserialize<'de> for EditResponse
impl<'de> Deserialize<'de> for EditResponse
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
Auto Trait Implementations§
impl Freeze for EditResponse
impl RefUnwindSafe for EditResponse
impl Send for EditResponse
impl Sync for EditResponse
impl Unpin for EditResponse
impl UnwindSafe for EditResponse
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