pub struct FileCreateResponse {
pub id: String,
pub bytes: i64,
pub container_id: String,
pub created_at: i64,
pub object: String,
pub path: String,
pub source: String,
}Fields§
§id: StringUnique identifier for the file.
bytes: i64Size of the file in bytes.
container_id: StringThe container this file belongs to.
created_at: i64Unix timestamp (in seconds) when the file was created.
object: StringThe type of this object (container.file).
path: StringPath of the file in the container.
source: StringSource of the file (e.g., user, assistant).
Trait Implementations§
Source§impl Clone for FileCreateResponse
impl Clone for FileCreateResponse
Source§fn clone(&self) -> FileCreateResponse
fn clone(&self) -> FileCreateResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FileCreateResponse
impl Debug for FileCreateResponse
Source§impl<'de> Deserialize<'de> for FileCreateResponse
impl<'de> Deserialize<'de> for FileCreateResponse
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 FileCreateResponse
impl RefUnwindSafe for FileCreateResponse
impl Send for FileCreateResponse
impl Sync for FileCreateResponse
impl Unpin for FileCreateResponse
impl UnsafeUnpin for FileCreateResponse
impl UnwindSafe for FileCreateResponse
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