#[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§
Source§fn clone(&self) -> SharedLinkCreatePolicy
fn clone(&self) -> SharedLinkCreatePolicy
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.