Enum dropbox_sdk::sharing::FolderAction
source · #[non_exhaustive]pub enum FolderAction {
Show 15 variants
ChangeOptions,
DisableViewerInfo,
EditContents,
EnableViewerInfo,
InviteEditor,
InviteViewer,
InviteViewerNoComment,
RelinquishMembership,
Unmount,
Unshare,
LeaveACopy,
ShareLink,
CreateLink,
SetAccessInheritance,
Other,
}Expand description
Actions that may be taken on shared folders.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
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.
Stop sharing this folder.
LeaveACopy
Keep a copy of the contents upon leaving or being kicked from the folder.
Use create_link instead.
CreateLink
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§
source§impl Clone for FolderAction
Available on crate feature dbx_sharing only.
impl Clone for FolderAction
dbx_sharing only.source§fn clone(&self) -> FolderAction
fn clone(&self) -> FolderAction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for FolderAction
Available on crate feature dbx_sharing only.
impl Debug for FolderAction
dbx_sharing only.source§impl<'de> Deserialize<'de> for FolderAction
Available on crate feature dbx_sharing only.
impl<'de> Deserialize<'de> for FolderAction
dbx_sharing only.source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
source§impl PartialEq for FolderAction
Available on crate feature dbx_sharing only.
impl PartialEq for FolderAction
dbx_sharing only.source§fn eq(&self, other: &FolderAction) -> bool
fn eq(&self, other: &FolderAction) -> bool
self and other values to be equal, and is used
by ==.source§impl Serialize for FolderAction
Available on crate feature dbx_sharing only.
impl Serialize for FolderAction
dbx_sharing only.impl Eq for FolderAction
dbx_sharing only.impl StructuralEq for FolderAction
dbx_sharing only.impl StructuralPartialEq for FolderAction
dbx_sharing only.