#[non_exhaustive]pub enum AccessLevel {
Owner,
Editor,
Viewer,
ViewerNoComment,
Traverse,
NoAccess,
Other,
}
sync_routes
and 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§impl Serialize for AccessLevel
impl Serialize for AccessLevel
impl Eq for AccessLevel
impl StructuralPartialEq for AccessLevel
Auto Trait Implementations§
impl Freeze for AccessLevel
impl RefUnwindSafe for AccessLevel
impl Send for AccessLevel
impl Sync for AccessLevel
impl Unpin for AccessLevel
impl UnwindSafe for AccessLevel
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.