pub struct FileRetrieveContentResponse {
pub id: String,
pub object: String,
pub bytes: i32,
pub created_at: i64,
pub filename: String,
pub purpose: String,
pub headers: Option<HashMap<String, String>>,
}
Expand description
Represents the response from a file content retrieve request.
Fields§
§id: String
Unique identifier for the file whose content was retrieved.
object: String
Object type, typically “file”.
bytes: i32
Size of the file in bytes.
created_at: i64
Timestamp of when the file was created.
filename: String
Name of the file.
purpose: String
Purpose of the file.
headers: Option<HashMap<String, String>>
Optional headers from the response.
Trait Implementations§
Source§impl Debug for FileRetrieveContentResponse
impl Debug for FileRetrieveContentResponse
Source§impl<'de> Deserialize<'de> for FileRetrieveContentResponse
impl<'de> Deserialize<'de> for FileRetrieveContentResponse
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 FileRetrieveContentResponse
impl RefUnwindSafe for FileRetrieveContentResponse
impl Send for FileRetrieveContentResponse
impl Sync for FileRetrieveContentResponse
impl Unpin for FileRetrieveContentResponse
impl UnwindSafe for FileRetrieveContentResponse
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