#[non_exhaustive]pub struct AdminWorkflowsTriggersTypesPermissionsSetRequest {
pub id: String,
pub visibility: Option<String>,
pub user_ids: Option<Vec<String>>,
pub permissions: Option<Value>,
}Expand description
Arguments for the Slack Web API method admin.workflows.triggers.types.permissions.set: Set the permissions for using a trigger type
Send it with SlackClient::admin_workflows_triggers_types_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.id: StringThe trigger type ID for which to set the permissions
visibility: Option<String>The function visibility
user_ids: Option<Vec<String>>List of user IDs to allow for named_entities visibility
permissions: Option<Value>Implementations§
Trait Implementations§
impl StructuralPartialEq for AdminWorkflowsTriggersTypesPermissionsSetRequest
Auto Trait Implementations§
impl Freeze for AdminWorkflowsTriggersTypesPermissionsSetRequest
impl RefUnwindSafe for AdminWorkflowsTriggersTypesPermissionsSetRequest
impl Send for AdminWorkflowsTriggersTypesPermissionsSetRequest
impl Sync for AdminWorkflowsTriggersTypesPermissionsSetRequest
impl Unpin for AdminWorkflowsTriggersTypesPermissionsSetRequest
impl UnsafeUnpin for AdminWorkflowsTriggersTypesPermissionsSetRequest
impl UnwindSafe for AdminWorkflowsTriggersTypesPermissionsSetRequest
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