pub struct FileRetrieveResponse {
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 FileRetrieveResponse
impl Clone for FileRetrieveResponse
Source§fn clone(&self) -> FileRetrieveResponse
fn clone(&self) -> FileRetrieveResponse
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 FileRetrieveResponse
impl Debug for FileRetrieveResponse
Source§impl<'de> Deserialize<'de> for FileRetrieveResponse
impl<'de> Deserialize<'de> for FileRetrieveResponse
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 FileRetrieveResponse
impl RefUnwindSafe for FileRetrieveResponse
impl Send for FileRetrieveResponse
impl Sync for FileRetrieveResponse
impl Unpin for FileRetrieveResponse
impl UnsafeUnpin for FileRetrieveResponse
impl UnwindSafe for FileRetrieveResponse
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