Struct async_openai::types::CreateEditResponse
source · pub struct CreateEditResponse {
pub object: String,
pub created: u32,
pub choices: Vec<Choice>,
pub usage: CompletionUsage,
}
Fields§
§object: String
§created: u32
§choices: Vec<Choice>
§usage: CompletionUsage
Trait Implementations§
source§impl Clone for CreateEditResponse
impl Clone for CreateEditResponse
source§fn clone(&self) -> CreateEditResponse
fn clone(&self) -> CreateEditResponse
Returns a copy 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 Debug for CreateEditResponse
impl Debug for CreateEditResponse
source§impl<'de> Deserialize<'de> for CreateEditResponse
impl<'de> Deserialize<'de> for CreateEditResponse
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 CreateEditResponse
impl PartialEq for CreateEditResponse
source§fn eq(&self, other: &CreateEditResponse) -> bool
fn eq(&self, other: &CreateEditResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CreateEditResponse
impl Serialize for CreateEditResponse
impl StructuralPartialEq for CreateEditResponse
Auto Trait Implementations§
impl RefUnwindSafe for CreateEditResponse
impl Send for CreateEditResponse
impl Sync for CreateEditResponse
impl Unpin for CreateEditResponse
impl UnwindSafe for CreateEditResponse
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