Enum dropbox_sdk::team::MemberAddResult
source · [−]pub enum MemberAddResult {
TeamLicenseLimit(EmailAddress),
FreeTeamMemberLimitReached(EmailAddress),
UserAlreadyOnTeam(EmailAddress),
UserOnAnotherTeam(EmailAddress),
UserAlreadyPaired(EmailAddress),
UserMigrationFailed(EmailAddress),
DuplicateExternalMemberId(EmailAddress),
DuplicateMemberPersistentId(EmailAddress),
PersistentIdDisabled(EmailAddress),
UserCreationFailed(EmailAddress),
Success(TeamMemberInfo),
}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
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(TeamMemberInfo)
Describes a user that was successfully added to the team.
Trait Implementations
sourceimpl Clone for MemberAddResult
impl Clone for MemberAddResult
sourcefn clone(&self) -> MemberAddResult
fn clone(&self) -> MemberAddResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for MemberAddResult
impl Debug for MemberAddResult
sourceimpl<'de> Deserialize<'de> for MemberAddResult
impl<'de> Deserialize<'de> for MemberAddResult
sourcefn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<MemberAddResult> for MemberAddResult
impl PartialEq<MemberAddResult> for MemberAddResult
sourcefn eq(&self, other: &MemberAddResult) -> bool
fn eq(&self, other: &MemberAddResult) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &MemberAddResult) -> bool
fn ne(&self, other: &MemberAddResult) -> bool
This method tests for !=.
sourceimpl Serialize for MemberAddResult
impl Serialize for MemberAddResult
impl Eq for MemberAddResult
impl StructuralEq for MemberAddResult
impl StructuralPartialEq for MemberAddResult
Auto Trait Implementations
impl RefUnwindSafe for MemberAddResult
impl Send for MemberAddResult
impl Sync for MemberAddResult
impl Unpin for MemberAddResult
impl UnwindSafe for MemberAddResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more