#[non_exhaustive]pub enum MemberAddV2Result {
TeamLicenseLimit(EmailAddress),
FreeTeamMemberLimitReached(EmailAddress),
UserAlreadyOnTeam(EmailAddress),
UserOnAnotherTeam(EmailAddress),
UserAlreadyPaired(EmailAddress),
UserMigrationFailed(EmailAddress),
DuplicateExternalMemberId(EmailAddress),
DuplicateMemberPersistentId(EmailAddress),
PersistentIdDisabled(EmailAddress),
UserCreationFailed(EmailAddress),
Success(TeamMemberInfoV2),
Other,
}
sync_routes
and dbx_team
only.Expand description
Describes the result of attempting to add a single user to the team. ‘success’ is the only value indicating that a user was indeed added to the team - the other values explain the type of failure that occurred, and include the email of the user for which the operation has failed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
TeamLicenseLimit(EmailAddress)
Team is already full. The organization has no available licenses.
FreeTeamMemberLimitReached(EmailAddress)
Team is already full. The free team member limit has been reached.
UserAlreadyOnTeam(EmailAddress)
User is already on this team. The provided email address is associated with a user who is already a member of (including in recoverable state) or invited to the team.
UserOnAnotherTeam(EmailAddress)
User is already on another team. The provided email address is associated with a user that is already a member or invited to another team.
UserAlreadyPaired(EmailAddress)
User is already paired.
UserMigrationFailed(EmailAddress)
User migration has failed.
DuplicateExternalMemberId(EmailAddress)
A user with the given external member ID already exists on the team (including in recoverable state).
DuplicateMemberPersistentId(EmailAddress)
A user with the given persistent ID already exists on the team (including in recoverable state).
PersistentIdDisabled(EmailAddress)
Persistent ID is only available to teams with persistent ID SAML configuration. Please contact Dropbox for more information.
UserCreationFailed(EmailAddress)
User creation has failed.
Success(TeamMemberInfoV2)
Describes a user that was successfully added to the team.
Other
Catch-all used for unrecognized values returned from the server. Encountering this value typically indicates that this SDK version is out of date.
Trait Implementations§
Source§impl Clone for MemberAddV2Result
impl Clone for MemberAddV2Result
Source§fn clone(&self) -> MemberAddV2Result
fn clone(&self) -> MemberAddV2Result
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for MemberAddV2Result
impl Debug for MemberAddV2Result
Source§impl<'de> Deserialize<'de> for MemberAddV2Result
impl<'de> Deserialize<'de> for MemberAddV2Result
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Source§impl From<MemberAddResultBase> for MemberAddV2Result
impl From<MemberAddResultBase> for MemberAddV2Result
Source§fn from(parent: MemberAddResultBase) -> Self
fn from(parent: MemberAddResultBase) -> Self
Source§impl PartialEq for MemberAddV2Result
impl PartialEq for MemberAddV2Result
Source§impl Serialize for MemberAddV2Result
impl Serialize for MemberAddV2Result
impl Eq for MemberAddV2Result
impl StructuralPartialEq for MemberAddV2Result
Auto Trait Implementations§
impl Freeze for MemberAddV2Result
impl RefUnwindSafe for MemberAddV2Result
impl Send for MemberAddV2Result
impl Sync for MemberAddV2Result
impl Unpin for MemberAddV2Result
impl UnwindSafe for MemberAddV2Result
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.