Struct dropbox_sdk::team::TeamMemberRole [−][src]
#[non_exhaustive]pub struct TeamMemberRole { pub role_id: TeamMemberRoleId, pub name: String, pub description: String, }
This is supported on crate feature
dbx_team only.Expand description
A role which can be attached to a team member. This replaces AdminTier; each AdminTier corresponds to a new TeamMemberRole with a matching name.
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.role_id: TeamMemberRoleIdA string containing encoded role ID. For roles defined by Dropbox, this is the same across all teams.
name: StringThe role display name.
description: StringRole description. Describes which permissions come with this role.
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 TeamMemberRoleimpl Send for TeamMemberRoleimpl Sync for TeamMemberRoleimpl Unpin for TeamMemberRoleimpl UnwindSafe for TeamMemberRoleBlanket Implementations
Mutably borrows from an owned value. Read more