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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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.
Auto Trait Implementations§
impl Freeze for FineTuneFileInfo
impl RefUnwindSafe for FineTuneFileInfo
impl Send for FineTuneFileInfo
impl Sync for FineTuneFileInfo
impl Unpin for FineTuneFileInfo
impl UnwindSafe for FineTuneFileInfo
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