Struct dropbox_sdk::common::TeamRootInfo [−][src]
#[non_exhaustive]pub struct TeamRootInfo { pub root_namespace_id: NamespaceId, pub home_namespace_id: NamespaceId, pub home_path: String, }
dbx_common only.Root info when user is member of a team with a separate root namespace ID.
Fields (Non-exhaustive)
Struct {{ .. }} syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.root_namespace_id: NamespaceIdThe namespace ID for user’s root namespace. It will be the namespace ID of the shared team
root if the user is member of a team with a separate team root. Otherwise it will be same as
home_namespace_id.
home_namespace_id: NamespaceIdThe namespace ID for user’s home namespace.
home_path: StringThe path for user’s home directory under the shared team root.
Implementations
impl TeamRootInfo[src]
impl TeamRootInfo[src]pub fn new(
root_namespace_id: NamespaceId,
home_namespace_id: NamespaceId,
home_path: String
) -> Self[src]
root_namespace_id: NamespaceId,
home_namespace_id: NamespaceId,
home_path: String
) -> Self
Trait Implementations
impl Clone for TeamRootInfo[src]
impl Clone for TeamRootInfo[src]fn clone(&self) -> TeamRootInfo[src]
fn clone(&self) -> TeamRootInfo[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for TeamRootInfo[src]
impl Debug for TeamRootInfo[src]impl<'de> Deserialize<'de> for TeamRootInfo[src]
impl<'de> Deserialize<'de> for TeamRootInfo[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 PartialEq<TeamRootInfo> for TeamRootInfo[src]
impl PartialEq<TeamRootInfo> for TeamRootInfo[src]fn eq(&self, other: &TeamRootInfo) -> bool[src]
fn eq(&self, other: &TeamRootInfo) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &TeamRootInfo) -> bool[src]
fn ne(&self, other: &TeamRootInfo) -> bool[src]This method tests for !=.
impl Serialize for TeamRootInfo[src]
impl Serialize for TeamRootInfo[src]impl StructuralPartialEq for TeamRootInfo[src]
Auto Trait Implementations
impl RefUnwindSafe for TeamRootInfo
impl Send for TeamRootInfo
impl Sync for TeamRootInfo
impl Unpin for TeamRootInfo
impl UnwindSafe for TeamRootInfo
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>,