pub struct GetTableResponse {
pub message: String,
pub status_code: f64,
pub status_message: String,
}
Expand description
An HTTP error resulting from an unsuccessful request.
JSON schema
{
"description": "An HTTP error resulting from an unsuccessful request.",
"required": [
"message",
"statusCode",
"statusMessage"
],
"properties": {
"message": {
"description": "Any additional context on the error, or the same as
`statusMessage` otherwise.",
"examples": [
"Unauthorized"
],
"type": "string"
},
"statusCode": {
"description": "HTTP status code of the error.",
"examples": [
401
],
"type": "number"
},
"statusMessage": {
"description": "HTTP status message of the error.",
"examples": [
"Unauthorized"
],
"type": "string"
}
},
"additionalProperties": false
}
Fields§
§message: String
Any additional context on the error, or the same as statusMessage
otherwise.
status_code: f64
§status_message: String
HTTP status message of the error.
Trait Implementations§
Source§impl Clone for GetTableResponse
impl Clone for GetTableResponse
Source§fn clone(&self) -> GetTableResponse
fn clone(&self) -> GetTableResponse
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 GetTableResponse
impl Debug for GetTableResponse
Source§impl<'de> Deserialize<'de> for GetTableResponse
impl<'de> Deserialize<'de> for GetTableResponse
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<&GetTableResponse> for GetTableResponse
impl From<&GetTableResponse> for GetTableResponse
Source§fn from(value: &GetTableResponse) -> Self
fn from(value: &GetTableResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GetTableResponse
impl RefUnwindSafe for GetTableResponse
impl Send for GetTableResponse
impl Sync for GetTableResponse
impl Unpin for GetTableResponse
impl UnwindSafe for GetTableResponse
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