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