[][src]Enum dropbox_sdk::sharing::PermissionDeniedReason

pub enum PermissionDeniedReason {
    UserNotSameTeamAsOwner,
    UserNotAllowedByOwner,
    TargetIsIndirectMember,
    TargetIsOwner,
    TargetIsSelf,
    TargetNotActive,
    FolderIsLimitedTeamFolder,
    OwnerNotOnTeam,
    PermissionDenied,
    RestrictedByTeam,
    UserAccountType,
    UserNotOnTeam,
    FolderIsInsideSharedFolder,
    RestrictedByParentFolder,
    InsufficientPlan(InsufficientPlan),
    Other,
}

Possible reasons the user is denied a permission.

Variants

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)
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

impl Debug for PermissionDeniedReason[src]

impl<'de> Deserialize<'de> for PermissionDeniedReason[src]

impl Serialize for PermissionDeniedReason[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any