#[non_exhaustive]pub struct AdminAppsPermissionsRemoveRequest {
pub app_id: String,
pub user_ids: Option<Vec<String>>,
pub usergroup_ids: Option<Vec<String>>,
pub channel_ids: Option<Vec<String>>,
}Expand description
Arguments for the Slack Web API method admin.apps.permissions.remove: Revoke an entity’s access to an app that has its permission type set to named_entities.
Send it with SlackClient::admin_apps_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.app_id: StringEncoded ID of the app
user_ids: Option<Vec<String>>List of user IDs whose named_entities access will be revoked
usergroup_ids: Option<Vec<String>>List of encoded usergroup IDs
channel_ids: Option<Vec<String>>List of encoded channel IDs to remove from the channel restriction list. Interpretation depends on the app’s channel_restriction_mode, which is configured via the admin.apps.permissions.set method.
Implementations§
Trait Implementations§
impl StructuralPartialEq for AdminAppsPermissionsRemoveRequest
Auto Trait Implementations§
impl Freeze for AdminAppsPermissionsRemoveRequest
impl RefUnwindSafe for AdminAppsPermissionsRemoveRequest
impl Send for AdminAppsPermissionsRemoveRequest
impl Sync for AdminAppsPermissionsRemoveRequest
impl Unpin for AdminAppsPermissionsRemoveRequest
impl UnsafeUnpin for AdminAppsPermissionsRemoveRequest
impl UnwindSafe for AdminAppsPermissionsRemoveRequest
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