pub struct FileData {
pub id: String,
pub object: String,
pub bytes: u32,
pub created_at: u64,
pub filename: String,
pub purpose: String,
}Fields§
§id: StringThe unique identifier for the file.
object: StringThe type of object, which should always be “file”.
bytes: u32The size of the file in bytes.
created_at: u64The Unix timestamp (in seconds) when the file was created.
filename: StringThe name of the file.
purpose: StringThe intended purpose of the file.
Trait Implementations§
source§impl<'de> Deserialize<'de> for FileData
impl<'de> Deserialize<'de> for FileData
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 RefUnwindSafe for FileData
impl Send for FileData
impl Sync for FileData
impl Unpin for FileData
impl UnwindSafe for FileData
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