Struct openai_req::fine_tunes::FineTuneFileInfo
source · pub struct FineTuneFileInfo {
pub id: String,
pub object: String,
pub bytes: i64,
pub created_at: i64,
pub filename: String,
pub purpose: String,
pub status: String,
pub status_details: Option<String>,
}
Expand description
Provides same fields as files::FileInfo(and can be converted .into()
it)
but also provides additional status information in context of fine-tune.
Fields§
§id: String
§object: String
§bytes: i64
§created_at: i64
§filename: String
§purpose: String
§status: String
§status_details: Option<String>
Trait Implementations§
source§impl Clone for FineTuneFileInfo
impl Clone for FineTuneFileInfo
source§fn clone(&self) -> FineTuneFileInfo
fn clone(&self) -> FineTuneFileInfo
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 FineTuneFileInfo
impl Debug for FineTuneFileInfo
source§impl<'de> Deserialize<'de> for FineTuneFileInfo
impl<'de> Deserialize<'de> for FineTuneFileInfo
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 From<FineTuneFileInfo> for FileInfo
impl From<FineTuneFileInfo> for FileInfo
source§fn from(value: FineTuneFileInfo) -> Self
fn from(value: FineTuneFileInfo) -> Self
Converts to this type from the input type.