Enum dropbox_sdk::team::MembersSetProfilePhotoError [−][src]
#[non_exhaustive]
pub enum MembersSetProfilePhotoError {
UserNotFound,
UserNotInTeam,
SetProfileDisallowed,
PhotoError(SetProfilePhotoError),
Other,
}This is supported on crate feature
dbx_team only.Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
No matching user found. The provided team_member_id, email, or external_id does not exist on this team.
The user is not a member of the team.
Modifying deleted users is not allowed.
PhotoError(SetProfilePhotoError)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
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 MembersSetProfilePhotoErrorimpl Send for MembersSetProfilePhotoErrorimpl Sync for MembersSetProfilePhotoErrorimpl Unpin for MembersSetProfilePhotoErrorimpl UnwindSafe for MembersSetProfilePhotoErrorBlanket Implementations
Mutably borrows from an owned value. Read more