#[non_exhaustive]pub enum ResolvedVisibility {
Public,
TeamOnly,
Password,
TeamAndPassword,
SharedFolderOnly,
NoOne,
OnlyYou,
Other,
}
sync_routes
and dbx_sharing
only.Expand description
The actual access permissions values of shared links after taking into account user preferences
and the team and shared folder settings. Check the RequestedVisibility
for more info on the
possible visibility values that can be set by the shared link’s owner.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Public
Anyone who has received the link can access it. No login required.
TeamOnly
Only members of the same team can access the link. Login is required.
Password
A link-specific password is required to access the link. Login is not required.
TeamAndPassword
Only members of the same team who have the link-specific password can access the link. Login is required.
Only members of the shared folder containing the linked file can access the link. Login is required.
NoOne
The link merely points the user to the content, and does not grant any additional rights. Existing members of the content who use this link can only access the content with their pre-existing access rights. Either on the file directly, or inherited from a parent folder.
OnlyYou
Only the current user can view this link.
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 ResolvedVisibility
impl Clone for ResolvedVisibility
Source§fn clone(&self) -> ResolvedVisibility
fn clone(&self) -> ResolvedVisibility
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ResolvedVisibility
impl Debug for ResolvedVisibility
Source§impl<'de> Deserialize<'de> for ResolvedVisibility
impl<'de> Deserialize<'de> for ResolvedVisibility
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 From<RequestedVisibility> for ResolvedVisibility
impl From<RequestedVisibility> for ResolvedVisibility
Source§fn from(parent: RequestedVisibility) -> Self
fn from(parent: RequestedVisibility) -> Self
Source§impl From<ResolvedVisibility> for AlphaResolvedVisibility
impl From<ResolvedVisibility> for AlphaResolvedVisibility
Source§fn from(parent: ResolvedVisibility) -> Self
fn from(parent: ResolvedVisibility) -> Self
Source§impl PartialEq for ResolvedVisibility
impl PartialEq for ResolvedVisibility
Source§impl Serialize for ResolvedVisibility
impl Serialize for ResolvedVisibility
impl Eq for ResolvedVisibility
impl StructuralPartialEq for ResolvedVisibility
Auto Trait Implementations§
impl Freeze for ResolvedVisibility
impl RefUnwindSafe for ResolvedVisibility
impl Send for ResolvedVisibility
impl Sync for ResolvedVisibility
impl Unpin for ResolvedVisibility
impl UnwindSafe for ResolvedVisibility
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.