Struct dropbox_sdk::sharing::ShareFolderArg  [−][src]
#[non_exhaustive]pub struct ShareFolderArg { pub path: WritePath, pub acl_update_policy: Option<AclUpdatePolicy>, pub force_async: bool, pub member_policy: Option<MemberPolicy>, pub shared_link_policy: Option<SharedLinkPolicy>, pub viewer_info_policy: Option<ViewerInfoPolicy>, pub access_inheritance: AccessInheritance, pub actions: Option<Vec<FolderAction>>, pub link_settings: Option<LinkSettings>, }
dbx_sharing only.Fields (Non-exhaustive)
Struct {{ .. }} syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.path: WritePathThe 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: boolWhether 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: AccessInheritanceThe access inheritance settings for the folder.
actions: Option<Vec<FolderAction>>A list of FolderActions corresponding to FolderPermissions 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]
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]
impl Clone for ShareFolderArg[src]fn clone(&self) -> ShareFolderArg[src]
fn clone(&self) -> ShareFolderArg[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for ShareFolderArg[src]
impl Debug for ShareFolderArg[src]impl<'de> Deserialize<'de> for ShareFolderArg[src]
impl<'de> Deserialize<'de> for ShareFolderArg[src]fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>[src]Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<ShareFolderArg> for ShareFolderArg[src]
impl PartialEq<ShareFolderArg> for ShareFolderArg[src]fn eq(&self, other: &ShareFolderArg) -> bool[src]
fn eq(&self, other: &ShareFolderArg) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &ShareFolderArg) -> bool[src]
fn ne(&self, other: &ShareFolderArg) -> bool[src]This method tests for !=.
impl Serialize for ShareFolderArg[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> BorrowMut<T> for T where
    T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
    T: Clone, [src]
impl<T> ToOwned for T where
    T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,