pub type RetrieveFileResponseBody = FileMetadata;Aliased Type§
pub struct RetrieveFileResponseBody {
pub id: String,
pub created_at: String,
pub filename: String,
pub mime_type: String,
pub size_bytes: u64,
pub type_: FileObjectType,
pub downloadable: Option<bool>,
pub expires_at: Option<String>,
pub extra: BTreeMap<String, Value>,
}Fields§
§id: String§created_at: String§filename: String§mime_type: String§size_bytes: u64§type_: FileObjectType§downloadable: Option<bool>§expires_at: Option<String>GA responses include this as either an RFC 3339 timestamp or null.
It remains optional so responses selected by the legacy beta header decode.
extra: BTreeMap<String, Value>