Enum dropbox_sdk::sharing::AccessLevel
source · #[non_exhaustive]pub enum AccessLevel {
Owner,
Editor,
Viewer,
ViewerNoComment,
Traverse,
NoAccess,
Other,
}dbx_sharing only.Expand description
Defines the access levels for collaborators.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Owner
The collaborator is the owner of the shared folder. Owners can view and edit the shared
folder as well as set the folder’s policies using
update_folder_policy().
Editor
The collaborator can both view and edit the shared folder.
Viewer
The collaborator can only view the shared folder.
ViewerNoComment
The collaborator can only view the shared folder and does not have any access to comments.
Traverse
The collaborator can only view the shared folder that they have access to.
NoAccess
If there is a Righteous Link on the folder which grants access and the user has visited such link, they are allowed to perform certain action (i.e. add themselves to the folder) via the link access even though the user themselves are not a member on the shared folder yet.
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 AccessLevel
impl Clone for AccessLevel
source§fn clone(&self) -> AccessLevel
fn clone(&self) -> AccessLevel
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AccessLevel
impl Debug for AccessLevel
source§impl<'de> Deserialize<'de> for AccessLevel
impl<'de> Deserialize<'de> for AccessLevel
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 AccessLevel
impl PartialEq for AccessLevel
source§fn eq(&self, other: &AccessLevel) -> bool
fn eq(&self, other: &AccessLevel) -> bool
self and other values to be equal, and is used
by ==.