pub enum CreateSharedLinkWithSettingsError {
Path(LookupError),
EmailNotVerified,
SharedLinkAlreadyExists(Option<SharedLinkAlreadyExistsMetadata>),
SettingsError(SharedLinkSettingsError),
AccessDenied,
BannedMember,
TooManySharedFolders,
}dbx_sharing and sync_routes only.Variants§
Path(LookupError)
EmailNotVerified
This user’s email address is not verified. This functionality is only available on accounts with a verified email address. Users can verify their email address here.
The shared link already exists. You can call
list_shared_links() to get the existing link, or use
the provided metadata if it is returned. Existing link metadata will not be returned if
custom settings were specified in the request that could make the existing link incompatible
with the requested settings.
SettingsError(SharedLinkSettingsError)
There is an error with the given settings.
AccessDenied
The user is not allowed to create a shared link to the specified file. For example, this can occur if the file is restricted or if the user’s links are banned.
BannedMember
The current user has been banned for abuse reasons.
Your Dropbox folder will have too many shared folders after the operation. https://help.dropbox.com/share/shared-folder-faq#Is-there-a-limit-to-the-number-of-shared-folders-I-can-create
Trait Implementations§
Source§fn clone(&self) -> CreateSharedLinkWithSettingsError
fn clone(&self) -> CreateSharedLinkWithSettingsError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.