pub struct FileDeleteResponse {
pub id: String,
pub object: String,
pub delete: bool,
pub headers: Option<HashMap<String, String>>,
}
Expand description
Represents the response from a file delete request.
Fields§
§id: String
Unique identifier for the deleted file.
object: String
Object type, typically “file”.
delete: bool
Indicates whether the file was successfully deleted.
headers: Option<HashMap<String, String>>
Optional headers from the response.
Trait Implementations§
Source§impl Debug for FileDeleteResponse
impl Debug for FileDeleteResponse
Source§impl<'de> Deserialize<'de> for FileDeleteResponse
impl<'de> Deserialize<'de> for FileDeleteResponse
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 FileDeleteResponse
impl RefUnwindSafe for FileDeleteResponse
impl Send for FileDeleteResponse
impl Sync for FileDeleteResponse
impl Unpin for FileDeleteResponse
impl UnwindSafe for FileDeleteResponse
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