Struct dropbox_sdk::team::MembersAddArg
source · #[non_exhaustive]pub struct MembersAddArg {
pub new_members: Vec<MemberAddArg>,
pub force_async: bool,
}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.new_members: Vec<MemberAddArg>Details of new members to be added to the team.
force_async: boolWhether to force the add to happen asynchronously.
Implementations§
source§impl MembersAddArg
impl MembersAddArg
pub fn new(new_members: Vec<MemberAddArg>) -> Self
Available on crate feature
dbx_team only.pub fn with_force_async(self, value: bool) -> Self
Available on crate feature
dbx_team only.Trait Implementations§
source§impl Clone for MembersAddArg
Available on crate feature dbx_team only.
impl Clone for MembersAddArg
Available on crate feature
dbx_team only.source§fn clone(&self) -> MembersAddArg
fn clone(&self) -> MembersAddArg
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for MembersAddArg
Available on crate feature dbx_team only.
impl Debug for MembersAddArg
Available on crate feature
dbx_team only.source§impl<'de> Deserialize<'de> for MembersAddArg
Available on crate feature dbx_team only.
impl<'de> Deserialize<'de> for MembersAddArg
Available on crate feature
dbx_team only.source§fn 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
source§impl From<MembersAddArg> for MembersAddArgBase
Available on crate feature dbx_team only.
impl From<MembersAddArg> for MembersAddArgBase
Available on crate feature
dbx_team only.source§fn from(subtype: MembersAddArg) -> Self
fn from(subtype: MembersAddArg) -> Self
Converts to this type from the input type.
source§impl PartialEq for MembersAddArg
Available on crate feature dbx_team only.
impl PartialEq for MembersAddArg
Available on crate feature
dbx_team only.source§fn eq(&self, other: &MembersAddArg) -> bool
fn eq(&self, other: &MembersAddArg) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for MembersAddArg
Available on crate feature dbx_team only.
impl Serialize for MembersAddArg
Available on crate feature
dbx_team only.impl Eq for MembersAddArg
Available on crate feature
dbx_team only.impl StructuralEq for MembersAddArg
Available on crate feature
dbx_team only.impl StructuralPartialEq for MembersAddArg
Available on crate feature
dbx_team only.Auto Trait Implementations§
impl RefUnwindSafe for MembersAddArg
impl Send for MembersAddArg
impl Sync for MembersAddArg
impl Unpin for MembersAddArg
impl UnwindSafe for MembersAddArg
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more