Struct dropbox_sdk::sharing::AddMember  
source · [−]#[non_exhaustive]pub struct AddMember {
    pub member: MemberSelector,
    pub access_level: AccessLevel,
}This is supported on crate feature 
dbx_sharing only.Expand description
The member and type of access the member should have when added to a shared folder.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.member: MemberSelectorThe member to add to the shared folder.
access_level: AccessLevelThe access level to grant member to the shared folder.
AccessLevel::Owner is disallowed.
Implementations
sourceimpl AddMember
 
impl AddMember
pub fn new(member: MemberSelector) -> Self
pub fn with_access_level(self, value: AccessLevel) -> Self
Trait Implementations
sourceimpl<'de> Deserialize<'de> for AddMember
 
impl<'de> Deserialize<'de> for AddMember
sourcefn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
 
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for AddMember
Auto Trait Implementations
impl RefUnwindSafe for AddMember
impl Send for AddMember
impl Sync for AddMember
impl Unpin for AddMember
impl UnwindSafe for AddMember
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
 
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
    T: Clone, 
 
impl<T> ToOwned for T where
    T: Clone, 
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
 
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
 
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more