Struct dropbox_sdk::sharing::ShareFolderArg [−][src]
dbx_sharing
only.Fields (Non-exhaustive)
Struct {{ .. }}
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.path: WritePath
The path to the folder to share. If it does not exist, then a new one is created.
acl_update_policy: Option<AclUpdatePolicy>
Who can add and remove members of this shared folder.
force_async: bool
Whether to force the share to happen asynchronously.
member_policy: Option<MemberPolicy>
Who can be a member of this shared folder. Only applicable if the current user is on a team.
The policy to apply to shared links created for content inside this shared folder. The
current user must be on a team to set this policy to
SharedLinkPolicy::Members
.
viewer_info_policy: Option<ViewerInfoPolicy>
Who can enable/disable viewer info for this shared folder.
access_inheritance: AccessInheritance
The access inheritance settings for the folder.
actions: Option<Vec<FolderAction>>
A list of FolderAction
s corresponding to FolderPermission
s that should appear in the
response's SharedFolderMetadata::permissions
field describing the
actions the authenticated user can perform on the folder.
link_settings: Option<LinkSettings>
Settings on the link for this folder.
Implementations
impl ShareFolderArg
[src]
pub fn new(path: WritePath) -> Self
[src]
pub fn with_acl_update_policy(self, value: AclUpdatePolicy) -> Self
[src]
pub fn with_force_async(self, value: bool) -> Self
[src]
pub fn with_member_policy(self, value: MemberPolicy) -> Self
[src]
pub fn with_shared_link_policy(self, value: SharedLinkPolicy) -> Self
[src]
pub fn with_viewer_info_policy(self, value: ViewerInfoPolicy) -> Self
[src]
pub fn with_access_inheritance(self, value: AccessInheritance) -> Self
[src]
pub fn with_actions(self, value: Vec<FolderAction>) -> Self
[src]
pub fn with_link_settings(self, value: LinkSettings) -> Self
[src]
Trait Implementations
impl Clone for ShareFolderArg
[src]
fn clone(&self) -> ShareFolderArg
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ShareFolderArg
[src]
impl<'de> Deserialize<'de> for ShareFolderArg
[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]
impl PartialEq<ShareFolderArg> for ShareFolderArg
[src]
fn eq(&self, other: &ShareFolderArg) -> bool
[src]
fn ne(&self, other: &ShareFolderArg) -> bool
[src]
impl Serialize for ShareFolderArg
[src]
impl StructuralPartialEq for ShareFolderArg
[src]
Auto Trait Implementations
impl RefUnwindSafe for ShareFolderArg
impl Send for ShareFolderArg
impl Sync for ShareFolderArg
impl Unpin for ShareFolderArg
impl UnwindSafe for ShareFolderArg
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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>,