Struct dropbox_sdk::team::MembersDeactivateArg
source · [−]#[non_exhaustive]pub struct MembersDeactivateArg {
pub user: UserSelectorArg,
pub wipe_data: bool,
}Available on crate feature
dbx_team 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.user: UserSelectorArgIdentity of user to remove/suspend/have their files moved.
wipe_data: boolIf provided, controls if the user’s data will be deleted on their linked devices.
Implementations
sourceimpl MembersDeactivateArg
impl MembersDeactivateArg
pub fn new(user: UserSelectorArg) -> Self
pub fn with_wipe_data(self, value: bool) -> Self
Trait Implementations
sourceimpl Clone for MembersDeactivateArg
impl Clone for MembersDeactivateArg
sourcefn clone(&self) -> MembersDeactivateArg
fn clone(&self) -> MembersDeactivateArg
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for MembersDeactivateArg
impl Debug for MembersDeactivateArg
sourceimpl<'de> Deserialize<'de> for MembersDeactivateArg
impl<'de> Deserialize<'de> for MembersDeactivateArg
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
sourceimpl PartialEq<MembersDeactivateArg> for MembersDeactivateArg
impl PartialEq<MembersDeactivateArg> for MembersDeactivateArg
sourcefn eq(&self, other: &MembersDeactivateArg) -> bool
fn eq(&self, other: &MembersDeactivateArg) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &MembersDeactivateArg) -> bool
fn ne(&self, other: &MembersDeactivateArg) -> bool
This method tests for !=.
sourceimpl Serialize for MembersDeactivateArg
impl Serialize for MembersDeactivateArg
impl Eq for MembersDeactivateArg
impl StructuralEq for MembersDeactivateArg
impl StructuralPartialEq for MembersDeactivateArg
Auto Trait Implementations
impl RefUnwindSafe for MembersDeactivateArg
impl Send for MembersDeactivateArg
impl Sync for MembersDeactivateArg
impl Unpin for MembersDeactivateArg
impl UnwindSafe for MembersDeactivateArg
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more