#[non_exhaustive]
pub enum VisibilityPolicyDisallowedReason {
DeleteAndRecreate,
RestrictedBySharedFolder,
RestrictedByTeam,
UserNotOnTeam,
UserAccountType,
PermissionDenied,
Other,
}dbx_sharing only.Variants (Non-exhaustive)
This enum is marked as non-exhaustive
DeleteAndRecreate
The user needs to delete and recreate the link to change the visibility policy.
RestrictedBySharedFolder
The parent shared folder restricts sharing of links outside the shared folder. To change the visibility policy, remove the restriction from the parent shared folder.
RestrictedByTeam
The team policy prevents links being shared outside the team.
UserNotOnTeam
The user needs to be on a team to set this policy.
UserAccountType
The user is a basic user or is on a limited team.
PermissionDenied
The user does not have permission.
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 VisibilityPolicyDisallowedReason
impl Clone for VisibilityPolicyDisallowedReason
sourcefn clone(&self) -> VisibilityPolicyDisallowedReason
fn clone(&self) -> VisibilityPolicyDisallowedReason
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<'de> Deserialize<'de> for VisibilityPolicyDisallowedReason
impl<'de> Deserialize<'de> for VisibilityPolicyDisallowedReason
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 VisibilityPolicyDisallowedReason
Auto Trait Implementations
impl RefUnwindSafe for VisibilityPolicyDisallowedReason
impl Send for VisibilityPolicyDisallowedReason
impl Sync for VisibilityPolicyDisallowedReason
impl Unpin for VisibilityPolicyDisallowedReason
impl UnwindSafe for VisibilityPolicyDisallowedReason
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