#[non_exhaustive]pub struct AdminWorkflowsCollaboratorsAddRequest {
pub workflow_ids: Vec<String>,
pub collaborator_ids: Vec<String>,
}Expand description
Arguments for the Slack Web API method admin.workflows.collaborators.add: Add collaborators to workflows within the team or enterprise
Send it with SlackClient::admin_workflows_collaborators_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.workflow_ids: Vec<String>Array of workflow IDs to edit; max 50
collaborator_ids: Vec<String>Array of collaborators (encoded user IDs) to add; max 50
Implementations§
Trait Implementations§
impl StructuralPartialEq for AdminWorkflowsCollaboratorsAddRequest
Auto Trait Implementations§
impl Freeze for AdminWorkflowsCollaboratorsAddRequest
impl RefUnwindSafe for AdminWorkflowsCollaboratorsAddRequest
impl Send for AdminWorkflowsCollaboratorsAddRequest
impl Sync for AdminWorkflowsCollaboratorsAddRequest
impl Unpin for AdminWorkflowsCollaboratorsAddRequest
impl UnsafeUnpin for AdminWorkflowsCollaboratorsAddRequest
impl UnwindSafe for AdminWorkflowsCollaboratorsAddRequest
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