Enum dropbox_sdk::common::RootInfo [−][src]
#[non_exhaustive]
pub enum RootInfo {
Team(TeamRootInfo),
User(UserRootInfo),
Other,
}This is supported on crate feature
dbx_common only.Information about current user’s root.
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Team(TeamRootInfo)User(UserRootInfo)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 RootInfo[src]
impl<'de> Deserialize<'de> for RootInfo[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 RootInfo[src]
Auto Trait Implementations
impl RefUnwindSafe for RootInfo
impl Send for RootInfo
impl Sync for RootInfo
impl Unpin for RootInfo
impl UnwindSafe for RootInfo
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>,