Struct dropbox_sdk::team::MembersSetPermissions2Arg [−][src]
#[non_exhaustive]pub struct MembersSetPermissions2Arg { pub user: UserSelectorArg, pub new_roles: Option<Vec<TeamMemberRoleId>>, }
This is supported on crate feature
dbx_team only.Expand description
Exactly one of team_member_id, email, or external_id must be provided to identify the user account.
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.user: UserSelectorArgIdentity of user whose role will be set.
new_roles: Option<Vec<TeamMemberRoleId>>The new roles for the member. Send empty list to make user member only. For now, only up to one role is allowed.
Implementations
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for MembersSetPermissions2Argimpl Send for MembersSetPermissions2Argimpl Sync for MembersSetPermissions2Argimpl Unpin for MembersSetPermissions2Argimpl UnwindSafe for MembersSetPermissions2ArgBlanket Implementations
Mutably borrows from an owned value. Read more