Struct openai_gpt_rs::response::EditResp
source · pub struct EditResp {
pub object: String,
pub created: u64,
pub choices: Vec<EditChoice>,
pub usage: Usage,
}
Fields§
§object: String
§created: u64
§choices: Vec<EditChoice>
§usage: Usage
Trait Implementations§
source§impl Content for EditResp
impl Content for EditResp
fn get_content(&self, index: usize) -> Option<String>
fn get_contents<I>(&self, indices: I) -> Vec<String>where I: IntoIterator<Item = usize>,
source§impl<'de> Deserialize<'de> for EditResp
impl<'de> Deserialize<'de> for EditResp
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 RefUnwindSafe for EditResp
impl Send for EditResp
impl Sync for EditResp
impl Unpin for EditResp
impl UnwindSafe for EditResp
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