#[non_exhaustive]pub struct ConversationsExternalInvitePermissionsSetRequest {
pub channel: String,
pub target_team: String,
pub action: String,
}Expand description
Arguments for the Slack Web API method conversations.externalInvitePermissions.set: Upgrade or downgrade Slack Connect channel permissions between ‘can post only’ and ‘can post and invite’.
Send it with SlackClient::conversations_external_invite_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.channel: StringThe channel ID to change external invite permissions for
target_team: StringThe encoded team ID of the target team. Must be in the specified channel.
action: StringType of action to be taken: upgrade or downgrade
Implementations§
Trait Implementations§
impl StructuralPartialEq for ConversationsExternalInvitePermissionsSetRequest
Auto Trait Implementations§
impl Freeze for ConversationsExternalInvitePermissionsSetRequest
impl RefUnwindSafe for ConversationsExternalInvitePermissionsSetRequest
impl Send for ConversationsExternalInvitePermissionsSetRequest
impl Sync for ConversationsExternalInvitePermissionsSetRequest
impl Unpin for ConversationsExternalInvitePermissionsSetRequest
impl UnsafeUnpin for ConversationsExternalInvitePermissionsSetRequest
impl UnwindSafe for ConversationsExternalInvitePermissionsSetRequest
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