pub struct DeleteUserPackPermissionResponse {
pub coda_detail: Option<DeleteUserPackPermissionResponseCodaDetail>,
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": {
"codaDetail": {
"description": "Detail about why this request was rejected.",
"type": "object",
"properties": {
"validationErrors": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ValidationError"
}
}
},
"additionalProperties": false
},
"message": {
"description": "Any additional context on the error, or the same as
`statusMessage` otherwise.",
"examples": [
"Bad Request"
],
"type": "string"
},
"statusCode": {
"description": "HTTP status code of the error.",
"examples": [
400
],
"type": "number"
},
"statusMessage": {
"description": "HTTP status message of the error.",
"examples": [
"Bad Request"
],
"type": "string"
}
},
"additionalProperties": false
}Fields§
§coda_detail: Option<DeleteUserPackPermissionResponseCodaDetail>§message: StringAny additional context on the error, or the same as statusMessage
otherwise.
status_code: f64§status_message: StringHTTP status message of the error.
Trait Implementations§
Source§impl Clone for DeleteUserPackPermissionResponse
impl Clone for DeleteUserPackPermissionResponse
Source§fn clone(&self) -> DeleteUserPackPermissionResponse
fn clone(&self) -> DeleteUserPackPermissionResponse
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<'de> Deserialize<'de> for DeleteUserPackPermissionResponse
impl<'de> Deserialize<'de> for DeleteUserPackPermissionResponse
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<&DeleteUserPackPermissionResponse> for DeleteUserPackPermissionResponse
impl From<&DeleteUserPackPermissionResponse> for DeleteUserPackPermissionResponse
Source§fn from(value: &DeleteUserPackPermissionResponse) -> Self
fn from(value: &DeleteUserPackPermissionResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DeleteUserPackPermissionResponse
impl RefUnwindSafe for DeleteUserPackPermissionResponse
impl Send for DeleteUserPackPermissionResponse
impl Sync for DeleteUserPackPermissionResponse
impl Unpin for DeleteUserPackPermissionResponse
impl UnwindSafe for DeleteUserPackPermissionResponse
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