#[non_exhaustive]pub struct ApiTestRequest {
pub error: Option<String>,
}Expand description
Arguments for the Slack Web API method api.test: Checks API calling code.
Send it with SlackClient::api_test.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.error: Option<String>Error response to return
Implementations§
Trait Implementations§
Source§impl Clone for ApiTestRequest
impl Clone for ApiTestRequest
Source§impl Debug for ApiTestRequest
impl Debug for ApiTestRequest
Source§impl Default for ApiTestRequest
impl Default for ApiTestRequest
Source§impl PartialEq for ApiTestRequest
impl PartialEq for ApiTestRequest
Source§impl Serialize for ApiTestRequest
impl Serialize for ApiTestRequest
Source§impl SlackApiMethod for ApiTestRequest
impl SlackApiMethod for ApiTestRequest
impl StructuralPartialEq for ApiTestRequest
Auto Trait Implementations§
impl Freeze for ApiTestRequest
impl RefUnwindSafe for ApiTestRequest
impl Send for ApiTestRequest
impl Sync for ApiTestRequest
impl Unpin for ApiTestRequest
impl UnsafeUnpin for ApiTestRequest
impl UnwindSafe for ApiTestRequest
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