#[non_exhaustive]pub struct AppsManagedPermissionsSetRequest {
pub app_id: String,
pub permissions: String,
}Expand description
Arguments for the Slack Web API method apps.managed.permissions.set: Set who can interact with a managed app
Send it with SlackClient::apps_managed_permissions_set.
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 managed app to configure
permissions: StringWho can interact with the app. Use everyone to allow all members, or app_owner to restrict access to the app’s owner.
Implementations§
Trait Implementations§
impl StructuralPartialEq for AppsManagedPermissionsSetRequest
Auto Trait Implementations§
impl Freeze for AppsManagedPermissionsSetRequest
impl RefUnwindSafe for AppsManagedPermissionsSetRequest
impl Send for AppsManagedPermissionsSetRequest
impl Sync for AppsManagedPermissionsSetRequest
impl Unpin for AppsManagedPermissionsSetRequest
impl UnsafeUnpin for AppsManagedPermissionsSetRequest
impl UnwindSafe for AppsManagedPermissionsSetRequest
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