pub struct ModelDeleted {
pub id: String,
pub deleted: bool,
pub object: String,
}Expand description
The response of a model deletion.
Fields§
§id: StringThe ID of the model that was deleted.
deleted: boolWhether the model was deleted.
object: StringThe object type, which is always model.
Trait Implementations§
Source§impl Clone for ModelDeleted
impl Clone for ModelDeleted
Source§fn clone(&self) -> ModelDeleted
fn clone(&self) -> ModelDeleted
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 ModelDeleted
impl Debug for ModelDeleted
Source§impl<'de> Deserialize<'de> for ModelDeleted
impl<'de> Deserialize<'de> for ModelDeleted
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 FromStr for ModelDeleted
impl FromStr for ModelDeleted
Auto Trait Implementations§
impl Freeze for ModelDeleted
impl RefUnwindSafe for ModelDeleted
impl Send for ModelDeleted
impl Sync for ModelDeleted
impl Unpin for ModelDeleted
impl UnsafeUnpin for ModelDeleted
impl UnwindSafe for ModelDeleted
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