Struct dropbox_sdk::sharing::RemoveFolderMemberArg [−][src]
#[non_exhaustive]pub struct RemoveFolderMemberArg { pub shared_folder_id: SharedFolderId, pub member: MemberSelector, pub leave_a_copy: bool, }
This is supported on crate feature
dbx_sharing only.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.The ID for the shared folder.
member: MemberSelectorThe member to remove from the folder.
leave_a_copy: boolIf true, the removed user will keep their copy of the folder after it’s unshared, assuming it was mounted. Otherwise, it will be removed from their Dropbox. Also, this must be set to false when kicking a group.
Implementations
pub fn new(
shared_folder_id: SharedFolderId,
member: MemberSelector,
leave_a_copy: bool
) -> SelfTrait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for RemoveFolderMemberArgimpl Send for RemoveFolderMemberArgimpl Sync for RemoveFolderMemberArgimpl Unpin for RemoveFolderMemberArgimpl UnwindSafe for RemoveFolderMemberArgBlanket Implementations
Mutably borrows from an owned value. Read more