[][src]Enum dropbox_sdk::sharing::FileAction

pub enum FileAction {
    DisableViewerInfo,
    EditContents,
    EnableViewerInfo,
    InviteViewer,
    InviteViewerNoComment,
    InviteEditor,
    Unshare,
    RelinquishMembership,
    ShareLink,
    CreateLink,
    CreateViewLink,
    CreateEditLink,
    Other,
}

Sharing actions that may be taken on files.

Variants

DisableViewerInfo

Disable viewer information on the file.

EditContents

Change or edit contents of the file.

EnableViewerInfo

Enable viewer information on the file.

InviteViewer

Add a member with view permissions.

InviteViewerNoComment

Add a member with view permissions but no comment permissions.

InviteEditor

Add a member with edit permissions.

Unshare

Stop sharing this file.

RelinquishMembership

Relinquish one's own membership to the file.

ShareLink

Use create_view_link and create_edit_link instead.

CreateLink

Use create_view_link and create_edit_link instead.

CreateViewLink

Create a shared link to a file that only allows users to view the content.

CreateEditLink

Create a shared link to a file that allows users to edit the content.

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 FileAction[src]

impl Serialize for FileAction[src]

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

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

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