#[non_exhaustive]pub enum FolderAction {
Show 15 variants
ChangeOptions,
DisableViewerInfo,
EditContents,
EnableViewerInfo,
InviteEditor,
InviteViewer,
InviteViewerNoComment,
RelinquishMembership,
Unmount,
Unshare,
LeaveACopy,
ShareLink,
CreateLink,
SetAccessInheritance,
Other,
}
sync_routes
and dbx_sharing
only.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
impl Clone for FolderAction
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
impl Debug for FolderAction
Source§impl<'de> Deserialize<'de> for FolderAction
impl<'de> Deserialize<'de> for FolderAction
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
impl PartialEq for FolderAction
Source§impl Serialize for FolderAction
impl Serialize for FolderAction
impl Eq for FolderAction
impl StructuralPartialEq for FolderAction
Auto Trait Implementations§
impl Freeze for FolderAction
impl RefUnwindSafe for FolderAction
impl Send for FolderAction
impl Sync for FolderAction
impl Unpin for FolderAction
impl UnwindSafe for FolderAction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.