Enum dropbox_sdk::sharing::FileAction [−][src]
#[non_exhaustive]
pub enum FileAction {
Show variants
DisableViewerInfo,
EditContents,
EnableViewerInfo,
InviteViewer,
InviteViewerNoComment,
InviteEditor,
Unshare,
RelinquishMembership,
ShareLink,
CreateLink,
CreateViewLink,
CreateEditLink,
Other,
}dbx_sharing only.Sharing actions that may be taken on files.
Variants (Non-exhaustive)
Disable viewer information on the file.
Change or edit contents of the file.
Enable viewer information on the file.
Add a member with view permissions.
Add a member with view permissions but no comment permissions.
Add a member with edit permissions.
Stop sharing this file.
Relinquish one’s own membership to the file.
Use create_view_link and create_edit_link instead.
Use create_view_link and create_edit_link instead.
Create a shared link to a file that only allows users to view the content.
Create a shared link to a file that allows users to edit the content.
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 Clone for FileAction[src]
impl Clone for FileAction[src]fn clone(&self) -> FileAction[src]
fn clone(&self) -> FileAction[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for FileAction[src]
impl Debug for FileAction[src]impl<'de> Deserialize<'de> for FileAction[src]
impl<'de> Deserialize<'de> for FileAction[src]fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>[src]Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<FileAction> for FileAction[src]
impl PartialEq<FileAction> for FileAction[src]impl Serialize for FileAction[src]
impl Serialize for FileAction[src]impl StructuralPartialEq for FileAction[src]
Auto Trait Implementations
impl RefUnwindSafe for FileAction
impl Send for FileAction
impl Sync for FileAction
impl Unpin for FileAction
impl UnwindSafe for FileAction
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,