Struct dropbox_sdk::team::GroupUpdateArgs
source · [−]#[non_exhaustive]pub struct GroupUpdateArgs {
pub group: GroupSelector,
pub return_members: bool,
pub new_group_name: Option<String>,
pub new_group_external_id: Option<GroupExternalId>,
pub new_group_management_type: Option<GroupManagementType>,
}dbx_team only.Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.group: GroupSelectorSpecify a group.
return_members: boolWhether to return the list of members in the group. Note that the default value will cause all the group members to be returned in the response. This may take a long time for large groups.
new_group_name: Option<String>Optional argument. Set group name to this if provided.
new_group_external_id: Option<GroupExternalId>Optional argument. New group external ID. If the argument is None, the group’s external_id won’t be updated. If the argument is empty string, the group’s external id will be cleared.
new_group_management_type: Option<GroupManagementType>Set new group management type, if provided.
Implementations
sourceimpl GroupUpdateArgs
impl GroupUpdateArgs
pub fn new(group: GroupSelector) -> Self
pub fn with_return_members(self, value: bool) -> Self
pub fn with_new_group_name(self, value: String) -> Self
pub fn with_new_group_external_id(self, value: GroupExternalId) -> Self
pub fn with_new_group_management_type(self, value: GroupManagementType) -> Self
Trait Implementations
sourceimpl Clone for GroupUpdateArgs
impl Clone for GroupUpdateArgs
sourcefn clone(&self) -> GroupUpdateArgs
fn clone(&self) -> GroupUpdateArgs
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 GroupUpdateArgs
impl Debug for GroupUpdateArgs
sourceimpl<'de> Deserialize<'de> for GroupUpdateArgs
impl<'de> Deserialize<'de> for GroupUpdateArgs
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<GroupUpdateArgs> for GroupUpdateArgs
impl PartialEq<GroupUpdateArgs> for GroupUpdateArgs
sourcefn eq(&self, other: &GroupUpdateArgs) -> bool
fn eq(&self, other: &GroupUpdateArgs) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &GroupUpdateArgs) -> bool
fn ne(&self, other: &GroupUpdateArgs) -> bool
This method tests for !=.
sourceimpl Serialize for GroupUpdateArgs
impl Serialize for GroupUpdateArgs
impl Eq for GroupUpdateArgs
impl StructuralEq for GroupUpdateArgs
impl StructuralPartialEq for GroupUpdateArgs
Auto Trait Implementations
impl RefUnwindSafe for GroupUpdateArgs
impl Send for GroupUpdateArgs
impl Sync for GroupUpdateArgs
impl Unpin for GroupUpdateArgs
impl UnwindSafe for GroupUpdateArgs
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