Struct rustiful::JsonApiError
[−]
[src]
pub struct JsonApiError { pub title: String, pub status: String, pub detail: String, }
Fields
title: String
status: String
detail: String
Methods
impl JsonApiError
[src]
fn new<T: Error>(error: &T, status: Status) -> JsonApiError
Trait Implementations
impl Debug for JsonApiError
[src]
impl Clone for JsonApiError
[src]
fn clone(&self) -> JsonApiError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for JsonApiError
[src]
fn eq(&self, __arg_0: &JsonApiError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &JsonApiError) -> bool
This method tests for !=
.