#[non_exhaustive]
pub enum MembersSetProfilePhotoError {
UserNotFound,
UserNotInTeam,
SetProfileDisallowed,
PhotoError(SetProfilePhotoError),
Other,
}dbx_team only.Variants (Non-exhaustive)
This enum is marked as non-exhaustive
UserNotFound
No matching user found. The provided team_member_id, email, or external_id does not exist on this team.
UserNotInTeam
The user is not a member of the team.
SetProfileDisallowed
Modifying deleted users is not allowed.
PhotoError(SetProfilePhotoError)
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 MembersSetProfilePhotoError
impl Clone for MembersSetProfilePhotoError
sourcefn clone(&self) -> MembersSetProfilePhotoError
fn clone(&self) -> MembersSetProfilePhotoError
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 MembersSetProfilePhotoError
impl Debug for MembersSetProfilePhotoError
sourceimpl<'de> Deserialize<'de> for MembersSetProfilePhotoError
impl<'de> Deserialize<'de> for MembersSetProfilePhotoError
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 MembersSetProfilePhotoError
impl Display for MembersSetProfilePhotoError
sourceimpl Error for MembersSetProfilePhotoError
impl Error for MembersSetProfilePhotoError
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<MembersSetProfilePhotoError> for MembersSetProfilePhotoError
impl PartialEq<MembersSetProfilePhotoError> for MembersSetProfilePhotoError
sourcefn eq(&self, other: &MembersSetProfilePhotoError) -> bool
fn eq(&self, other: &MembersSetProfilePhotoError) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &MembersSetProfilePhotoError) -> bool
fn ne(&self, other: &MembersSetProfilePhotoError) -> bool
This method tests for !=.
impl Eq for MembersSetProfilePhotoError
impl StructuralEq for MembersSetProfilePhotoError
impl StructuralPartialEq for MembersSetProfilePhotoError
Auto Trait Implementations
impl RefUnwindSafe for MembersSetProfilePhotoError
impl Send for MembersSetProfilePhotoError
impl Sync for MembersSetProfilePhotoError
impl Unpin for MembersSetProfilePhotoError
impl UnwindSafe for MembersSetProfilePhotoError
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