Function dropbox_sdk::sharing::share_folder
source · [−]pub fn share_folder(
client: &impl UserAuthClient,
arg: &ShareFolderArg
) -> Result<Result<ShareFolderLaunch, ShareFolderError>>Available on crate feature
dbx_sharing only.Expand description
Share a folder with collaborators. Most sharing will be completed synchronously. Large folders
will be completed asynchronously. To make testing the async case repeatable, set
ShareFolderArg.force_async. If a
ShareFolderLaunch::AsyncJobId is returned, you’ll need to
call check_share_job_status() until the action completes to get the
metadata for the folder.