Struct heroku_rs::framework::response::HerokuApiError [−][src]
Expand description
HerokuApiError
Failing responses will have an appropriate status and a JSON body containing more details about a particular error. See error responses for more example ids.
Fields
message: String
end user message of error raised
id: String
id of error raised
Trait Implementations
impl Debug for HerokuApiError
[src]
impl Debug for HerokuApiError
[src]impl Default for HerokuApiError
[src]
impl Default for HerokuApiError
[src]fn default() -> HerokuApiError
[src]
fn default() -> HerokuApiError
[src]Returns the “default value” for a type. Read more
impl<'de> Deserialize<'de> for HerokuApiError
[src]
impl<'de> Deserialize<'de> for HerokuApiError
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl Display for HerokuApiError
[src]
impl Display for HerokuApiError
[src]impl Error for HerokuApiError
[src]
impl Error for HerokuApiError
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]use the Display impl or to_string()
impl PartialEq<HerokuApiError> for HerokuApiError
[src]
impl PartialEq<HerokuApiError> for HerokuApiError
[src]impl Eq for HerokuApiError
[src]
Auto Trait Implementations
impl RefUnwindSafe for HerokuApiError
impl Send for HerokuApiError
impl Sync for HerokuApiError
impl Unpin for HerokuApiError
impl UnwindSafe for HerokuApiError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<E> Fail for E where
E: 'static + Error + Send + Sync,
[src]
impl<E> Fail for E where
E: 'static + Error + Send + Sync,
[src]fn cause(&self) -> Option<&(dyn Fail + 'static)>
[src]
fn cause(&self) -> Option<&(dyn Fail + 'static)>
[src]Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]Returns a reference to the Backtrace
carried by this failure, if it
carries one. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,