pub struct SlackApiError {
pub error: String,
pub warning: Option<String>,
pub response_metadata: Option<ResponseMetadata>,
}Expand description
Details of an "ok": false response.
Fields§
§error: StringThe error code, such as channel_not_found.
warning: Option<String>The warning value.
response_metadata: Option<ResponseMetadata>Details. The reasons for invalid_blocks and similar errors are in messages.
Trait Implementations§
Source§impl Clone for SlackApiError
impl Clone for SlackApiError
Source§impl Debug for SlackApiError
impl Debug for SlackApiError
Source§impl PartialEq for SlackApiError
impl PartialEq for SlackApiError
impl StructuralPartialEq for SlackApiError
Auto Trait Implementations§
impl Freeze for SlackApiError
impl RefUnwindSafe for SlackApiError
impl Send for SlackApiError
impl Sync for SlackApiError
impl Unpin for SlackApiError
impl UnsafeUnpin for SlackApiError
impl UnwindSafe for SlackApiError
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