pub enum PermissionType {
Admin,
Bundle,
Full,
History,
List,
Readonly,
ReadonlySiteAdmin,
SiteAdmin,
Writeonly,
}
Expand description
Permission types available in Files.com
Variants§
Admin
List, preview, read, write, move, delete, rename, manage permissions
Bundle
Share files via bundles (share links)
Full
Read, write, move, delete, rename files
History
View history and create email notifications
List
List files and folders only
Readonly
List, preview, and download files
ReadonlySiteAdmin
Readonly site admin on child sites
SiteAdmin
Site admin on child sites
Writeonly
Upload files and create folders
Trait Implementations§
Source§impl Clone for PermissionType
impl Clone for PermissionType
Source§fn clone(&self) -> PermissionType
fn clone(&self) -> PermissionType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PermissionType
impl Debug for PermissionType
Source§impl<'de> Deserialize<'de> for PermissionType
impl<'de> Deserialize<'de> for PermissionType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PermissionType
impl RefUnwindSafe for PermissionType
impl Send for PermissionType
impl Sync for PermissionType
impl Unpin for PermissionType
impl UnwindSafe for PermissionType
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
Mutably borrows from an owned value. Read more