pub struct OpenAiFile {
pub bytes: i32,
pub created_at: i32,
pub expires_at: Option<i32>,
pub filename: String,
pub id: String,
pub object: String,
pub purpose: String,
pub status: String,
pub status_details: Option<String>,
}Fields§
§bytes: i32The size of the file, in bytes.
created_at: i32The Unix timestamp (in seconds) for when the file was created.
expires_at: Option<i32>The Unix timestamp (in seconds) for when the file will expire.
filename: StringThe name of the file.
id: StringThe file identifier, which can be referenced in the API endpoints.
object: StringThe object type, which is always file.
purpose: StringThe intended purpose of the file. Supported values are assistants, assistants_output, batch, batch_output, fine-tune, fine-tune-results and vision.
status: StringDeprecated. The current status of the file, which can be either uploaded, processed, or error.
status_details: Option<String>Deprecated. For details on why a fine-tuning training file failed validation, see the error field on fine_tuning.job.
Trait Implementations§
Source§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
Auto Trait Implementations§
impl Freeze for OpenAiFile
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