Struct async_openai::types::OpenAIFile
source · pub struct OpenAIFile {
pub id: String,
pub object: String,
pub bytes: u32,
pub created_at: u32,
pub filename: String,
pub purpose: String,
pub status: Option<String>,
pub status_details: Option<Value>,
}
Fields§
§id: String
§object: String
§bytes: u32
§created_at: u32
§filename: String
§purpose: String
§status: Option<String>
§status_details: Option<Value>
Trait Implementations§
source§impl Clone for OpenAIFile
impl Clone for OpenAIFile
source§fn clone(&self) -> OpenAIFile
fn clone(&self) -> OpenAIFile
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 OpenAIFile
impl Debug for OpenAIFile
source§impl<'de> Deserialize<'de> for OpenAIFile
impl<'de> Deserialize<'de> for OpenAIFile
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<OpenAIFile> for OpenAIFile
impl PartialEq<OpenAIFile> for OpenAIFile
source§fn eq(&self, other: &OpenAIFile) -> bool
fn eq(&self, other: &OpenAIFile) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for OpenAIFile
impl Serialize for OpenAIFile
impl StructuralPartialEq for OpenAIFile
Auto Trait Implementations§
impl RefUnwindSafe for OpenAIFile
impl Send for OpenAIFile
impl Sync for OpenAIFile
impl Unpin for OpenAIFile
impl UnwindSafe for OpenAIFile
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