#[non_exhaustive]pub struct FunctionsDistributionsPermissionsRemoveRequest {
pub function_id: Option<String>,
pub function_callback_id: Option<String>,
pub function_app_id: Option<String>,
pub user_ids: Option<Vec<String>>,
}Expand description
Arguments for the Slack Web API method functions.distributions.permissions.remove: Revoke user access to a custom slack function if permission_type set to named_entities
Send it with SlackClient::functions_distributions_permissions_remove.
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_id: Option<String>The encoded ID of the function
function_callback_id: Option<String>The callback ID defined in the function’s definition file
function_app_id: Option<String>The encoded ID of the app.
user_ids: Option<Vec<String>>List of encoded user IDs
Implementations§
Source§impl FunctionsDistributionsPermissionsRemoveRequest
impl FunctionsDistributionsPermissionsRemoveRequest
pub fn new() -> Self
pub fn function_id(self, function_id: impl Into<String>) -> Self
pub fn function_callback_id( self, function_callback_id: impl Into<String>, ) -> Self
pub fn function_app_id(self, function_app_id: impl Into<String>) -> Self
pub fn user_ids(self, user_ids: Vec<String>) -> Self
Trait Implementations§
impl StructuralPartialEq for FunctionsDistributionsPermissionsRemoveRequest
Auto Trait Implementations§
impl Freeze for FunctionsDistributionsPermissionsRemoveRequest
impl RefUnwindSafe for FunctionsDistributionsPermissionsRemoveRequest
impl Send for FunctionsDistributionsPermissionsRemoveRequest
impl Sync for FunctionsDistributionsPermissionsRemoveRequest
impl Unpin for FunctionsDistributionsPermissionsRemoveRequest
impl UnsafeUnpin for FunctionsDistributionsPermissionsRemoveRequest
impl UnwindSafe for FunctionsDistributionsPermissionsRemoveRequest
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