pub enum SharingPublicPolicyType {
PeopleWithLinkCanEdit,
PeopleWithLinkCanViewAndComment,
InviteOnly,
Disabled,
}
Available on crate features
async_routes
and dbx_paper
only.Variants§
PeopleWithLinkCanEdit
Users who have a link to this doc can edit it.
PeopleWithLinkCanViewAndComment
Users who have a link to this doc can view and comment on it.
InviteOnly
Users must be explicitly invited to this doc.
Disabled
Value used to indicate that doc sharing is enabled only within team.
Trait Implementations§
Source§impl Clone for SharingPublicPolicyType
impl Clone for SharingPublicPolicyType
Source§fn clone(&self) -> SharingPublicPolicyType
fn clone(&self) -> SharingPublicPolicyType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SharingPublicPolicyType
impl Debug for SharingPublicPolicyType
Source§impl<'de> Deserialize<'de> for SharingPublicPolicyType
impl<'de> Deserialize<'de> for SharingPublicPolicyType
Source§fn 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
Source§impl From<SharingTeamPolicyType> for SharingPublicPolicyType
impl From<SharingTeamPolicyType> for SharingPublicPolicyType
Source§fn from(parent: SharingTeamPolicyType) -> Self
fn from(parent: SharingTeamPolicyType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SharingPublicPolicyType
impl PartialEq for SharingPublicPolicyType
Source§impl Serialize for SharingPublicPolicyType
impl Serialize for SharingPublicPolicyType
impl Eq for SharingPublicPolicyType
impl StructuralPartialEq for SharingPublicPolicyType
Auto Trait Implementations§
impl Freeze for SharingPublicPolicyType
impl RefUnwindSafe for SharingPublicPolicyType
impl Send for SharingPublicPolicyType
impl Sync for SharingPublicPolicyType
impl Unpin for SharingPublicPolicyType
impl UnwindSafe for SharingPublicPolicyType
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
Mutably borrows from an owned value. Read more
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
Compare self to
key
and return true
if they are equal.