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

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

Actions that may be taken on shared folders.

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.

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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 !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.