pub struct FileDeleteResponse {
pub id: String,
pub object: String,
pub deleted: bool,
}Expand description
Response from deleting a file.
Fields§
§id: StringThe ID of the deleted file.
object: StringThe object type, which is always file.
deleted: boolWhether the file was successfully deleted.
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 (const: unstable) · 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
impl Eq for FileDeleteResponse
Source§impl PartialEq for FileDeleteResponse
impl PartialEq for FileDeleteResponse
Source§impl Serialize for FileDeleteResponse
impl Serialize for FileDeleteResponse
impl StructuralPartialEq 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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.