pub struct DeletedResponse {
pub deleted: Option<bool>,
pub id: Option<String>,
pub object: Option<String>,
}
Expand description
DeletedResponse
JSON schema
{
"type": "object",
"properties": {
"deleted": {
"description": "If the object has been deleted, the value is true. If the object has not been deleted, the value is false.",
"type": "boolean"
},
"id": {
"description": "This is the internal ID for this object. You don’t need to record this information, since you will not need to use it.",
"type": "string"
},
"object": {
"description": "String representing the object’s type. Objects of the same type share the same value.",
"type": "string"
}
}
}
Fields§
§deleted: Option<bool>
If the object has been deleted, the value is true. If the object has not been deleted, the value is false.
id: Option<String>
This is the internal ID for this object. You don’t need to record this information, since you will not need to use it.
object: Option<String>
String representing the object’s type. Objects of the same type share the same value.
Implementations§
Source§impl DeletedResponse
impl DeletedResponse
pub fn builder() -> DeletedResponse
Trait Implementations§
Source§impl Clone for DeletedResponse
impl Clone for DeletedResponse
Source§fn clone(&self) -> DeletedResponse
fn clone(&self) -> DeletedResponse
Returns a copy 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 DeletedResponse
impl Debug for DeletedResponse
Source§impl Default for DeletedResponse
impl Default for DeletedResponse
Source§impl<'de> Deserialize<'de> for DeletedResponse
impl<'de> Deserialize<'de> for DeletedResponse
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 From<&DeletedResponse> for DeletedResponse
impl From<&DeletedResponse> for DeletedResponse
Source§fn from(value: &DeletedResponse) -> Self
fn from(value: &DeletedResponse) -> Self
Converts to this type from the input type.
Source§impl From<DeletedResponse> for DeletedResponse
impl From<DeletedResponse> for DeletedResponse
Source§fn from(value: DeletedResponse) -> Self
fn from(value: DeletedResponse) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for DeletedResponse
impl JsonSchema for DeletedResponse
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreSource§impl Serialize for DeletedResponse
impl Serialize for DeletedResponse
Source§impl TryFrom<DeletedResponse> for DeletedResponse
impl TryFrom<DeletedResponse> for DeletedResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: DeletedResponse) -> Result<Self, ConversionError>
fn try_from(value: DeletedResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for DeletedResponse
impl RefUnwindSafe for DeletedResponse
impl Send for DeletedResponse
impl Sync for DeletedResponse
impl Unpin for DeletedResponse
impl UnwindSafe for DeletedResponse
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