Enum dropbox_sdk::sharing::FolderAction[][src]

#[non_exhaustive]pub enum FolderAction {
    ChangeOptions,
    DisableViewerInfo,
    EditContents,
    EnableViewerInfo,
    InviteEditor,
    InviteViewer,
    InviteViewerNoComment,
    RelinquishMembership,
    Unmount,
    Unshare,
    LeaveACopy,
    ShareLink,
    CreateLink,
    SetAccessInheritance,
    Other,
}
This is supported on crate feature dbx_sharing only.

Actions that may be taken on shared folders.

Variants (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.
ChangeOptions

Change folder options, such as who can be invited to join the folder.

DisableViewerInfo

Disable viewer information for this folder.

EditContents

Change or edit contents of the folder.

EnableViewerInfo

Enable viewer information on the folder.

InviteEditor

Invite a user or group to join the folder with read and write permission.

InviteViewer

Invite a user or group to join the folder with read permission.

InviteViewerNoComment

Invite a user or group to join the folder with read permission but no comment permissions.

RelinquishMembership

Relinquish one's own membership in the folder.

Unmount

Unmount the folder.

Unshare

Stop sharing this folder.

LeaveACopy

Keep a copy of the contents upon leaving or being kicked from the folder.

Use create_link instead.

Create a shared link for folder.

SetAccessInheritance

Set whether the folder inherits permissions from its parent.

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 Clone for FolderAction[src]

impl Debug for FolderAction[src]

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

impl PartialEq<FolderAction> for FolderAction[src]

impl Serialize for FolderAction[src]

impl StructuralPartialEq for FolderAction[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: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.