pub struct DeleteFileResponse {
pub success: bool,
}
Expand description
Represents the response received from an attempt to delete a file.
This struct is used to deserialize the JSON response returned by the server
when a file deletion operation is performed. The success
field indicates
whether the deletion was successful.
Fields§
§success: bool
A boolean indicating whether the file was successfully 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