[−][src]Struct dropbox_sdk::sharing::FolderPolicy
This is supported on crate feature
dbx_sharing
only.A set of policies governing membership and privileges for a shared folder.
Fields
acl_update_policy: AclUpdatePolicy
Who can add and remove members from this shared folder.
Who links can be shared with.
member_policy: Option<MemberPolicy>
Who can be a member of this shared folder, as set on the folder itself. The effective policy may differ from this value if the team-wide policy is more restrictive. Present only if the folder is owned by a team.
resolved_member_policy: Option<MemberPolicy>
Who can be a member of this shared folder, taking into account both the folder and the team-wide policy. This value may differ from that of member_policy if the team-wide policy is more restrictive than the folder policy. Present only if the folder is owned by a team.
viewer_info_policy: Option<ViewerInfoPolicy>
Who can enable/disable viewer info for this shared folder.
Implementations
impl FolderPolicy
[src]
pub fn new(
acl_update_policy: AclUpdatePolicy,
shared_link_policy: SharedLinkPolicy
) -> Self
[src]
acl_update_policy: AclUpdatePolicy,
shared_link_policy: SharedLinkPolicy
) -> Self
pub fn with_member_policy(self, value: Option<MemberPolicy>) -> Self
[src]
pub fn with_resolved_member_policy(self, value: Option<MemberPolicy>) -> Self
[src]
pub fn with_viewer_info_policy(self, value: Option<ViewerInfoPolicy>) -> Self
[src]
Trait Implementations
impl Debug for FolderPolicy
[src]
impl<'de> Deserialize<'de> for FolderPolicy
[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]
impl Serialize for FolderPolicy
[src]
Auto Trait Implementations
impl RefUnwindSafe for FolderPolicy
impl Send for FolderPolicy
impl Sync for FolderPolicy
impl Unpin for FolderPolicy
impl UnwindSafe for FolderPolicy
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,