Enum dropbox_sdk::team::GroupMembersAddError
source · [−]#[non_exhaustive]
pub enum GroupMembersAddError {
GroupNotFound,
SystemManagedGroupDisallowed,
DuplicateUser,
GroupNotInTeam,
MembersNotInTeam(Vec<String>),
UsersNotFound(Vec<String>),
UserMustBeActiveToBeOwner,
UserCannotBeManagerOfCompanyManagedGroup(Vec<String>),
Other,
}dbx_team only.Variants (Non-exhaustive)
This enum is marked as non-exhaustive
GroupNotFound
No matching group found. No groups match the specified group ID.
SystemManagedGroupDisallowed
This operation is not supported on system-managed groups.
DuplicateUser
You cannot add duplicate users. One or more of the members you are trying to add is already a member of the group.
GroupNotInTeam
Group is not in this team. You cannot add members to a group that is outside of your team.
MembersNotInTeam(Vec<String>)
These members are not part of your team. Currently, you cannot add members to a group if
they are not part of your team, though this may change in a subsequent version. To add new
members to your Dropbox Business team, use the members_add() endpoint.
UsersNotFound(Vec<String>)
These users were not found in Dropbox.
UserMustBeActiveToBeOwner
A suspended user cannot be added to a group as
GroupAccessType::Owner.
UserCannotBeManagerOfCompanyManagedGroup(Vec<String>)
A company-managed group cannot be managed by a user.
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
sourceimpl Clone for GroupMembersAddError
impl Clone for GroupMembersAddError
sourcefn clone(&self) -> GroupMembersAddError
fn clone(&self) -> GroupMembersAddError
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 GroupMembersAddError
impl Debug for GroupMembersAddError
sourceimpl<'de> Deserialize<'de> for GroupMembersAddError
impl<'de> Deserialize<'de> for GroupMembersAddError
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 Display for GroupMembersAddError
impl Display for GroupMembersAddError
sourceimpl Error for GroupMembersAddError
impl Error for GroupMembersAddError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl PartialEq<GroupMembersAddError> for GroupMembersAddError
impl PartialEq<GroupMembersAddError> for GroupMembersAddError
sourcefn eq(&self, other: &GroupMembersAddError) -> bool
fn eq(&self, other: &GroupMembersAddError) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &GroupMembersAddError) -> bool
fn ne(&self, other: &GroupMembersAddError) -> bool
This method tests for !=.
sourceimpl Serialize for GroupMembersAddError
impl Serialize for GroupMembersAddError
impl Eq for GroupMembersAddError
impl StructuralEq for GroupMembersAddError
impl StructuralPartialEq for GroupMembersAddError
Auto Trait Implementations
impl RefUnwindSafe for GroupMembersAddError
impl Send for GroupMembersAddError
impl Sync for GroupMembersAddError
impl Unpin for GroupMembersAddError
impl UnwindSafe for GroupMembersAddError
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