#[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 Eq for VisibilityPolicyDisallowedReason
impl StructuralEq for VisibilityPolicyDisallowedReason
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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more