#[non_exhaustive]
pub enum SharedLinkCreatePolicy {
DefaultPublic,
DefaultTeamOnly,
TeamOnly,
DefaultNoOne,
Other,
}dbx_team_policies only.Expand description
Policy governing the visibility of shared links. This policy can apply to newly created shared links, or all shared links.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
DefaultPublic
By default, anyone can access newly created shared links. No login will be required to access the shared links unless overridden.
DefaultTeamOnly
By default, only members of the same team can access newly created shared links. Login will be required to access the shared links unless overridden.
TeamOnly
Only members of the same team can access all shared links. Login will be required to access all shared links.
DefaultNoOne
Only people invited can access newly created links. Login will be required to access the shared links unless overridden.
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 SharedLinkCreatePolicy
impl Clone for SharedLinkCreatePolicy
sourcefn clone(&self) -> SharedLinkCreatePolicy
fn clone(&self) -> SharedLinkCreatePolicy
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 SharedLinkCreatePolicy
impl Debug for SharedLinkCreatePolicy
sourceimpl<'de> Deserialize<'de> for SharedLinkCreatePolicy
impl<'de> Deserialize<'de> for SharedLinkCreatePolicy
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 SharedLinkCreatePolicy
impl Serialize for SharedLinkCreatePolicy
impl Eq for SharedLinkCreatePolicy
impl StructuralEq for SharedLinkCreatePolicy
impl StructuralPartialEq for SharedLinkCreatePolicy
Auto Trait Implementations
impl RefUnwindSafe for SharedLinkCreatePolicy
impl Send for SharedLinkCreatePolicy
impl Sync for SharedLinkCreatePolicy
impl Unpin for SharedLinkCreatePolicy
impl UnwindSafe for SharedLinkCreatePolicy
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