#[non_exhaustive]
pub enum SharedLinkAccessFailureReason {
LoginRequired,
EmailVerifyRequired,
PasswordRequired,
TeamOnly,
OwnerOnly,
Other,
}Available on crate feature
dbx_sharing only.Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
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 Eq for SharedLinkAccessFailureReason
impl StructuralEq for SharedLinkAccessFailureReason
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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more