pub enum RequestedVisibility {
Public,
TeamOnly,
Password,
}
Available on crate features
sync_routes
and dbx_sharing
only.Expand description
The access permission that can be requested by the caller for the shared link. Note that the
final resolved visibility of the shared link takes into account other aspects, such as team and
shared folder settings. Check the ResolvedVisibility
for more info on the possible resolved
visibility values of shared links.
Variants§
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.
Trait Implementations§
Source§impl Clone for RequestedVisibility
impl Clone for RequestedVisibility
Source§fn clone(&self) -> RequestedVisibility
fn clone(&self) -> RequestedVisibility
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 RequestedVisibility
impl Debug for RequestedVisibility
Source§impl<'de> Deserialize<'de> for RequestedVisibility
impl<'de> Deserialize<'de> for RequestedVisibility
Source§fn 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
Source§impl From<RequestedVisibility> for ResolvedVisibility
impl From<RequestedVisibility> for ResolvedVisibility
Source§fn from(parent: RequestedVisibility) -> Self
fn from(parent: RequestedVisibility) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RequestedVisibility
impl PartialEq for RequestedVisibility
Source§impl Serialize for RequestedVisibility
impl Serialize for RequestedVisibility
impl Eq for RequestedVisibility
impl StructuralPartialEq for RequestedVisibility
Auto Trait Implementations§
impl Freeze for RequestedVisibility
impl RefUnwindSafe for RequestedVisibility
impl Send for RequestedVisibility
impl Sync for RequestedVisibility
impl Unpin for RequestedVisibility
impl UnwindSafe for RequestedVisibility
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
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
Compare self to
key
and return true
if they are equal.