pub struct ChartJSImageError {
pub message: String,
pub code: Option<String>,
pub status_code: Option<u16>,
}Expand description
Error type for ChartJSImage operations
Fields§
§message: StringError message
code: Option<String>Error code from Image-Charts API
status_code: Option<u16>HTTP status code
Trait Implementations§
Source§impl Debug for ChartJSImageError
impl Debug for ChartJSImageError
Source§impl Display for ChartJSImageError
impl Display for ChartJSImageError
Source§impl Error for ChartJSImageError
impl Error for ChartJSImageError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for ChartJSImageError
impl RefUnwindSafe for ChartJSImageError
impl Send for ChartJSImageError
impl Sync for ChartJSImageError
impl Unpin for ChartJSImageError
impl UnwindSafe for ChartJSImageError
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