#[non_exhaustive]pub struct ApiError { /* private fields */ }Implementationsยง
Sourceยงimpl ApiError
impl ApiError
pub fn status(&self) -> Option<StatusCode>
pub fn method(&self) -> Option<&Method>
pub fn host(&self) -> Option<&str>
pub fn path(&self) -> Option<&str>
pub fn code(&self) -> Option<&str>
pub fn message(&self) -> Option<&str>
pub fn request_id(&self) -> Option<&str>
pub fn body_snippet(&self) -> Option<&str>
Trait Implementationsยง
Auto Trait Implementationsยง
impl Freeze for ApiError
impl RefUnwindSafe for ApiError
impl Send for ApiError
impl Sync for ApiError
impl Unpin for ApiError
impl UnwindSafe for ApiError
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