pub struct MessagesErrorError {
pub message: String,
pub type_: String,
}Expand description
The error details.
JSON schema
{
"description": "The error details.",
"type": "object",
"required": [
"message",
"type"
],
"properties": {
"message": {
"description": "A human-readable error message.",
"type": "string"
},
"type": {
"description": "The error type (e.g. `invalid_request_error`, `api_error`).",
"type": "string"
}
}
}Fields§
§message: StringA human-readable error message.
type_: StringThe error type (e.g. invalid_request_error, api_error).
Trait Implementations§
Source§impl Clone for MessagesErrorError
impl Clone for MessagesErrorError
Source§fn clone(&self) -> MessagesErrorError
fn clone(&self) -> MessagesErrorError
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 MessagesErrorError
impl Debug for MessagesErrorError
Source§impl<'de> Deserialize<'de> for MessagesErrorError
impl<'de> Deserialize<'de> for MessagesErrorError
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 MessagesErrorError
impl RefUnwindSafe for MessagesErrorError
impl Send for MessagesErrorError
impl Sync for MessagesErrorError
impl Unpin for MessagesErrorError
impl UnsafeUnpin for MessagesErrorError
impl UnwindSafe for MessagesErrorError
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