Enum dropbox_sdk::common::PathRoot [−][src]
#[non_exhaustive]
pub enum PathRoot {
Home,
Root(NamespaceId),
NamespaceId(NamespaceId),
Other,
}dbx_common only.Variants (Non-exhaustive)
Paths are relative to the authenticating user’s home namespace, whether or not that user belongs to a team.
Root(NamespaceId)Paths are relative to the authenticating user’s root namespace (This results in
PathRootError::InvalidRoot if the user’s root namespace has
changed.).
NamespaceId(NamespaceId)Paths are relative to given namespace id (This results in
PathRootError::NoPermission if you don’t have access to
this namespace.).
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
impl<'de> Deserialize<'de> for PathRoot[src]
impl<'de> Deserialize<'de> for PathRoot[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 StructuralPartialEq for PathRoot[src]
Auto Trait Implementations
impl RefUnwindSafe for PathRoot
impl Send for PathRoot
impl Sync for PathRoot
impl Unpin for PathRoot
impl UnwindSafe for PathRoot
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>,