Struct dropbox_sdk::team_policies::TeamSharingPolicies
source · [−]#[non_exhaustive]pub struct TeamSharingPolicies {
pub shared_folder_member_policy: SharedFolderMemberPolicy,
pub shared_folder_join_policy: SharedFolderJoinPolicy,
pub shared_link_create_policy: SharedLinkCreatePolicy,
}Available on crate feature
dbx_team_policies only.Expand description
Policies governing sharing within and outside of the team.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.Who can join folders shared by team members.
Which shared folders team members can join.
Who can view shared links owned by team members.
Implementations
sourceimpl TeamSharingPolicies
impl TeamSharingPolicies
pub fn new(
shared_folder_member_policy: SharedFolderMemberPolicy,
shared_folder_join_policy: SharedFolderJoinPolicy,
shared_link_create_policy: SharedLinkCreatePolicy
) -> Self
Trait Implementations
sourceimpl Clone for TeamSharingPolicies
impl Clone for TeamSharingPolicies
sourcefn clone(&self) -> TeamSharingPolicies
fn clone(&self) -> TeamSharingPolicies
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 TeamSharingPolicies
impl Debug for TeamSharingPolicies
sourceimpl<'de> Deserialize<'de> for TeamSharingPolicies
impl<'de> Deserialize<'de> for TeamSharingPolicies
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 PartialEq<TeamSharingPolicies> for TeamSharingPolicies
impl PartialEq<TeamSharingPolicies> for TeamSharingPolicies
sourcefn eq(&self, other: &TeamSharingPolicies) -> bool
fn eq(&self, other: &TeamSharingPolicies) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &TeamSharingPolicies) -> bool
fn ne(&self, other: &TeamSharingPolicies) -> bool
This method tests for !=.
sourceimpl Serialize for TeamSharingPolicies
impl Serialize for TeamSharingPolicies
impl Eq for TeamSharingPolicies
impl StructuralEq for TeamSharingPolicies
impl StructuralPartialEq for TeamSharingPolicies
Auto Trait Implementations
impl RefUnwindSafe for TeamSharingPolicies
impl Send for TeamSharingPolicies
impl Sync for TeamSharingPolicies
impl Unpin for TeamSharingPolicies
impl UnwindSafe for TeamSharingPolicies
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