pub struct DeleteFileResponse {
pub id: String,
pub object: String,
pub deleted: bool,
}
Expand description
Represents the response returned by the Delete File endpoint.
Fields§
§id: String
The file ID that was deleted.
object: String
The object type, usually “file”.
deleted: bool
Indicates that the file was deleted.
Trait Implementations§
Source§impl Debug for DeleteFileResponse
impl Debug for DeleteFileResponse
Source§impl<'de> Deserialize<'de> for DeleteFileResponse
impl<'de> Deserialize<'de> for DeleteFileResponse
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 DeleteFileResponse
impl RefUnwindSafe for DeleteFileResponse
impl Send for DeleteFileResponse
impl Sync for DeleteFileResponse
impl Unpin for DeleteFileResponse
impl UnwindSafe for DeleteFileResponse
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