Struct slack_web_api::SlackHttpError
source · pub struct SlackHttpError {
pub status: u16,
pub http_response_body: Option<String>,
}Fields§
§status: u16§http_response_body: Option<String>Implementations§
source§impl SlackHttpError
impl SlackHttpError
pub fn new(status: u16, http_response_body: String) -> SlackHttpError
Trait Implementations§
source§impl Debug for SlackHttpError
impl Debug for SlackHttpError
source§impl From<SlackHttpError> for SlackError
impl From<SlackHttpError> for SlackError
source§fn from(value: SlackHttpError) -> Self
fn from(value: SlackHttpError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for SlackHttpError
impl Send for SlackHttpError
impl Sync for SlackHttpError
impl Unpin for SlackHttpError
impl UnwindSafe for SlackHttpError
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