#[non_exhaustive]pub struct AdminUsersSetRegularRequest {
pub team_id: String,
pub user_id: String,
}Expand description
Arguments for the Slack Web API method admin.users.setRegular: Set an existing guest user, admin user, or owner to be a regular user.
Send it with SlackClient::admin_users_set_regular.
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.team_id: StringThe ID of the workspace or organization.
user_id: StringThe ID of the user to designate as a regular user.
Implementations§
Trait Implementations§
Source§impl Clone for AdminUsersSetRegularRequest
impl Clone for AdminUsersSetRegularRequest
Source§impl Debug for AdminUsersSetRegularRequest
impl Debug for AdminUsersSetRegularRequest
impl StructuralPartialEq for AdminUsersSetRegularRequest
Auto Trait Implementations§
impl Freeze for AdminUsersSetRegularRequest
impl RefUnwindSafe for AdminUsersSetRegularRequest
impl Send for AdminUsersSetRegularRequest
impl Sync for AdminUsersSetRegularRequest
impl Unpin for AdminUsersSetRegularRequest
impl UnsafeUnpin for AdminUsersSetRegularRequest
impl UnwindSafe for AdminUsersSetRegularRequest
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