#[non_exhaustive]pub struct FunctionsCompleteErrorRequest {
pub function_execution_id: String,
pub error: String,
}Expand description
Arguments for the Slack Web API method functions.completeError: Signal that a function failed to complete
Send it with SlackClient::functions_complete_error.
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.function_execution_id: StringContext identifier that maps to the executed function
error: StringA human-readable error message that contains information about why the function failed to complete
Implementations§
Trait Implementations§
impl StructuralPartialEq for FunctionsCompleteErrorRequest
Auto Trait Implementations§
impl Freeze for FunctionsCompleteErrorRequest
impl RefUnwindSafe for FunctionsCompleteErrorRequest
impl Send for FunctionsCompleteErrorRequest
impl Sync for FunctionsCompleteErrorRequest
impl Unpin for FunctionsCompleteErrorRequest
impl UnsafeUnpin for FunctionsCompleteErrorRequest
impl UnwindSafe for FunctionsCompleteErrorRequest
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