Enum dropbox_sdk::sharing::ResolvedVisibility
source · [−]#[non_exhaustive]
pub enum ResolvedVisibility {
Public,
TeamOnly,
Password,
TeamAndPassword,
SharedFolderOnly,
NoOne,
OnlyYou,
Other,
}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.
SharedFolderOnly
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
sourceimpl Clone for ResolvedVisibility
impl Clone for ResolvedVisibility
sourcefn clone(&self) -> ResolvedVisibility
fn clone(&self) -> ResolvedVisibility
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ResolvedVisibility
impl Debug for ResolvedVisibility
sourceimpl<'de> Deserialize<'de> for ResolvedVisibility
impl<'de> Deserialize<'de> for ResolvedVisibility
sourcefn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for ResolvedVisibility
impl Serialize for ResolvedVisibility
impl Eq for ResolvedVisibility
impl StructuralEq for ResolvedVisibility
impl StructuralPartialEq for ResolvedVisibility
Auto Trait Implementations
impl RefUnwindSafe for ResolvedVisibility
impl Send for ResolvedVisibility
impl Sync for ResolvedVisibility
impl Unpin for ResolvedVisibility
impl UnwindSafe for ResolvedVisibility
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more