pub struct APIError {
pub message: Option<String>,
pub url: Option<Url>,
}Expand description
APIError is an api error with a message
Fields§
§message: Option<String>§url: Option<Url>Trait Implementations§
Source§impl<'de> Deserialize<'de> for APIError
impl<'de> Deserialize<'de> for APIError
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 FromResponse for APIError
impl FromResponse for APIError
fn from_response( response: ApiResponse, has_body: bool, ) -> Result<Self, StructureError>
impl StructuralPartialEq for APIError
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