#[non_exhaustive]
pub enum SharedLinkAccessFailureReason {
LoginRequired,
EmailVerifyRequired,
PasswordRequired,
TeamOnly,
OwnerOnly,
Other,
}dbx_sharing only.Variants (Non-exhaustive)
This enum is marked as non-exhaustive
LoginRequired
User is not logged in.
EmailVerifyRequired
This user’s email address is not verified. This functionality is only available on accounts with a verified email address. Users can verify their email address here.
PasswordRequired
The link is password protected.
TeamOnly
Access is allowed for team members only.
OwnerOnly
Access is allowed for the shared link’s owner only.
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 SharedLinkAccessFailureReason
impl Clone for SharedLinkAccessFailureReason
sourcefn clone(&self) -> SharedLinkAccessFailureReason
fn clone(&self) -> SharedLinkAccessFailureReason
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 SharedLinkAccessFailureReason
impl Debug for SharedLinkAccessFailureReason
sourceimpl<'de> Deserialize<'de> for SharedLinkAccessFailureReason
impl<'de> Deserialize<'de> for SharedLinkAccessFailureReason
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
impl StructuralPartialEq for SharedLinkAccessFailureReason
Auto Trait Implementations
impl RefUnwindSafe for SharedLinkAccessFailureReason
impl Send for SharedLinkAccessFailureReason
impl Sync for SharedLinkAccessFailureReason
impl Unpin for SharedLinkAccessFailureReason
impl UnwindSafe for SharedLinkAccessFailureReason
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more