#[non_exhaustive]pub enum RelinquishAccessError {
InvalidFileId,
EmailUnverified,
Owner,
NoExplicitAccess,
TeamFolder,
NoPermission,
Other,
}dbx_sharing and sync_routes only.Expand description
Error result for the relinquish_access endpoint.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InvalidFileId
File or folder not found or has been deleted.
EmailUnverified
Caller’s email address is not verified.
Owner
User is the owner of the file/folder.
NoExplicitAccess
User has only non-removable access — inherited from a parent folder or via group membership. Either way, relinquish_access cannot remove the caller’s access from this surface; the caller must take action on the source of the access (e.g. leave the parent shared folder, or be removed from the group).
TeamFolder
Team folder restrictions apply.
NoPermission
Caller does not have permission to perform this action. Generic fallback.
Other
Catch-all used for unrecognized values returned from the server. Encountering this value typically indicates that this SDK version is out of date.
Trait Implementations§
Source§impl Clone for RelinquishAccessError
impl Clone for RelinquishAccessError
Source§fn clone(&self) -> RelinquishAccessError
fn clone(&self) -> RelinquishAccessError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RelinquishAccessError
impl Debug for RelinquishAccessError
Source§impl<'de> Deserialize<'de> for RelinquishAccessError
impl<'de> Deserialize<'de> for RelinquishAccessError
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Source§impl Display for RelinquishAccessError
impl Display for RelinquishAccessError
impl Eq for RelinquishAccessError
Source§impl Error for RelinquishAccessError
impl Error for RelinquishAccessError
1.30.0 · 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()
Source§impl PartialEq for RelinquishAccessError
impl PartialEq for RelinquishAccessError
Source§impl Serialize for RelinquishAccessError
impl Serialize for RelinquishAccessError
impl StructuralPartialEq for RelinquishAccessError
Auto Trait Implementations§
impl Freeze for RelinquishAccessError
impl RefUnwindSafe for RelinquishAccessError
impl Send for RelinquishAccessError
impl Sync for RelinquishAccessError
impl Unpin for RelinquishAccessError
impl UnsafeUnpin for RelinquishAccessError
impl UnwindSafe for RelinquishAccessError
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.