pub struct FileDeleteResponse {
pub id: Option<String>,
pub object: Option<String>,
pub deleted: Option<bool>,
}Expand description
Response for file deletion (DELETE /files/{file_id})
Fields§
§id: Option<String>Deleted resource id
object: Option<String>Resource type: expected “file”
deleted: Option<bool>Whether deletion succeeded
Trait Implementations§
Source§impl Clone for FileDeleteResponse
impl Clone for FileDeleteResponse
Source§fn clone(&self) -> FileDeleteResponse
fn clone(&self) -> FileDeleteResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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
Source§impl Serialize for FileDeleteResponse
impl Serialize for FileDeleteResponse
Source§impl Validate for FileDeleteResponse
impl Validate for FileDeleteResponse
Source§impl<'v_a> ValidateArgs<'v_a> for FileDeleteResponse
impl<'v_a> ValidateArgs<'v_a> for FileDeleteResponse
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