pub enum SharingTeamPolicyType {
PeopleWithLinkCanEdit,
PeopleWithLinkCanViewAndComment,
InviteOnly,
}
Available on crate features
async_routes
and dbx_paper
only.Expand description
The sharing policy type of the Paper doc.
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.
Trait Implementations§
Source§impl Clone for SharingTeamPolicyType
impl Clone for SharingTeamPolicyType
Source§fn clone(&self) -> SharingTeamPolicyType
fn clone(&self) -> SharingTeamPolicyType
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 SharingTeamPolicyType
impl Debug for SharingTeamPolicyType
Source§impl<'de> Deserialize<'de> for SharingTeamPolicyType
impl<'de> Deserialize<'de> for SharingTeamPolicyType
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 SharingTeamPolicyType
impl PartialEq for SharingTeamPolicyType
Source§impl Serialize for SharingTeamPolicyType
impl Serialize for SharingTeamPolicyType
impl Eq for SharingTeamPolicyType
impl StructuralPartialEq for SharingTeamPolicyType
Auto Trait Implementations§
impl Freeze for SharingTeamPolicyType
impl RefUnwindSafe for SharingTeamPolicyType
impl Send for SharingTeamPolicyType
impl Sync for SharingTeamPolicyType
impl Unpin for SharingTeamPolicyType
impl UnwindSafe for SharingTeamPolicyType
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.