Enum dropbox_sdk::sharing::PermissionDeniedReason [−][src]
#[non_exhaustive]
pub enum PermissionDeniedReason {
Show 16 variants
UserNotSameTeamAsOwner,
UserNotAllowedByOwner,
TargetIsIndirectMember,
TargetIsOwner,
TargetIsSelf,
TargetNotActive,
FolderIsLimitedTeamFolder,
OwnerNotOnTeam,
PermissionDenied,
RestrictedByTeam,
UserAccountType,
UserNotOnTeam,
FolderIsInsideSharedFolder,
RestrictedByParentFolder,
InsufficientPlan(InsufficientPlan),
Other,
}dbx_sharing only.Expand description
Possible reasons the user is denied a permission.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
UserNotSameTeamAsOwner
User is not on the same team as the folder owner.
UserNotAllowedByOwner
User is prohibited by the owner from taking the action.
TargetIsIndirectMember
Target is indirectly a member of the folder, for example by being part of a group.
TargetIsOwner
Target is the owner of the folder.
TargetIsSelf
Target is the user itself.
TargetNotActive
Target is not an active member of the team.
FolderIsLimitedTeamFolder
Folder is team folder for a limited team.
OwnerNotOnTeam
The content owner needs to be on a Dropbox team to perform this action.
PermissionDenied
The user does not have permission to perform this action on the link.
RestrictedByTeam
The user’s team policy prevents performing this action on the link.
UserAccountType
The user’s account type does not support this action.
UserNotOnTeam
The user needs to be on a Dropbox team to perform this action.
FolderIsInsideSharedFolder
Folder is inside of another shared folder.
RestrictedByParentFolder
Policy cannot be changed due to restrictions from parent folder.
InsufficientPlan(InsufficientPlan)
Tuple Fields
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
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 PermissionDeniedReason
impl Send for PermissionDeniedReason
impl Sync for PermissionDeniedReason
impl Unpin for PermissionDeniedReason
impl UnwindSafe for PermissionDeniedReason
Blanket Implementations
Mutably borrows from an owned value. Read more
