#[non_exhaustive]pub struct WorkflowsTriggersPermissionsAddRequest {
pub trigger_id: String,
pub user_ids: Option<Vec<String>>,
pub channel_ids: Option<Vec<String>>,
pub team_ids: Option<Vec<String>>,
pub org_ids: Option<Vec<String>>,
}Expand description
Arguments for the Slack Web API method workflows.triggers.permissions.add: Allows users to run a trigger that has its permission type set to named_entities
Send it with SlackClient::workflows_triggers_permissions_add.
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.trigger_id: StringEncoded ID of the trigger
user_ids: Option<Vec<String>>List of encoded user IDs
channel_ids: Option<Vec<String>>List of encoded channel IDs
team_ids: Option<Vec<String>>List of encoded workspace IDs
org_ids: Option<Vec<String>>List of encoded organization IDs
Implementations§
Trait Implementations§
impl StructuralPartialEq for WorkflowsTriggersPermissionsAddRequest
Auto Trait Implementations§
impl Freeze for WorkflowsTriggersPermissionsAddRequest
impl RefUnwindSafe for WorkflowsTriggersPermissionsAddRequest
impl Send for WorkflowsTriggersPermissionsAddRequest
impl Sync for WorkflowsTriggersPermissionsAddRequest
impl Unpin for WorkflowsTriggersPermissionsAddRequest
impl UnsafeUnpin for WorkflowsTriggersPermissionsAddRequest
impl UnwindSafe for WorkflowsTriggersPermissionsAddRequest
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