pub struct PostGroupsIdDuplicateQuery {
pub new_name: Option<String>,
pub copy_members: Option<bool>,
pub copy_permissions: Option<bool>,
pub copy_routines: Option<bool>,
}Expand description
Query parameters for POST /groups/{groupId}/duplicate.
Fields§
§new_name: Option<String>Name of the copy, trimmed before validation. Required in either the query or JSON body. The validator accepts up to 255 characters, but the stored group name column is limited to 100.
copy_members: Option<bool>Copy memberships, including statuses, roles, comments and member field values. Archived persons are excluded; group capacity is ignored and leaders are not informed.
copy_permissions: Option<bool>Copy group-role permissions and permission inheritance settings. Locked permissions are omitted unless the current user is an authorized person.
copy_routines: Option<bool>Copy membership routines and prepare their potential runs for the new group.
Trait Implementations§
Source§impl Clone for PostGroupsIdDuplicateQuery
impl Clone for PostGroupsIdDuplicateQuery
Source§impl Debug for PostGroupsIdDuplicateQuery
impl Debug for PostGroupsIdDuplicateQuery
Auto Trait Implementations§
impl Freeze for PostGroupsIdDuplicateQuery
impl RefUnwindSafe for PostGroupsIdDuplicateQuery
impl Send for PostGroupsIdDuplicateQuery
impl Sync for PostGroupsIdDuplicateQuery
impl Unpin for PostGroupsIdDuplicateQuery
impl UnsafeUnpin for PostGroupsIdDuplicateQuery
impl UnwindSafe for PostGroupsIdDuplicateQuery
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