Enum dropbox_sdk::sharing::RequestedVisibility
source · [−]pub enum RequestedVisibility {
Public,
TeamOnly,
Password,
}Available on crate feature
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
sourceimpl Clone for RequestedVisibility
impl Clone for RequestedVisibility
sourcefn clone(&self) -> RequestedVisibility
fn clone(&self) -> RequestedVisibility
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 RequestedVisibility
impl Debug for RequestedVisibility
sourceimpl<'de> Deserialize<'de> for RequestedVisibility
impl<'de> Deserialize<'de> for RequestedVisibility
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 RequestedVisibility
impl Serialize for RequestedVisibility
impl Eq for RequestedVisibility
impl StructuralEq for RequestedVisibility
impl StructuralPartialEq for RequestedVisibility
Auto Trait Implementations
impl RefUnwindSafe for RequestedVisibility
impl Send for RequestedVisibility
impl Sync for RequestedVisibility
impl Unpin for RequestedVisibility
impl UnwindSafe for RequestedVisibility
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