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,
}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.
Unshare
Stop sharing this folder.
LeaveACopy
Keep a copy of the contents upon leaving or being kicked from the folder.
ShareLink
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
sourceimpl Clone for FolderAction
impl Clone for FolderAction
sourcefn clone(&self) -> FolderAction
fn clone(&self) -> FolderAction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for FolderAction
impl Debug for FolderAction
sourceimpl<'de> Deserialize<'de> for FolderAction
impl<'de> Deserialize<'de> for FolderAction
sourcefn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<FolderAction> for FolderAction
impl PartialEq<FolderAction> for FolderAction
sourceimpl Serialize for FolderAction
impl Serialize for FolderAction
impl Eq for FolderAction
impl StructuralEq for FolderAction
impl StructuralPartialEq for FolderAction
Auto Trait Implementations
impl RefUnwindSafe for FolderAction
impl Send for FolderAction
impl Sync for FolderAction
impl Unpin for FolderAction
impl UnwindSafe for FolderAction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more