pub struct ApiError {
pub method: String,
pub url: Url,
pub status: StatusCode,
pub headers: HeaderMap,
pub content: Bytes,
}Fields§
§method: String§url: Url§status: StatusCode§headers: HeaderMap§content: BytesImplementations§
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 UnsafeUnpin 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