pub struct TeamOptions {
pub enabled: bool,
pub create_default_team: bool,
pub custom_create_default_team: Option<CustomCreateDefaultTeamHook>,
pub maximum_teams: Option<usize>,
pub maximum_members_per_team: Option<usize>,
pub allow_removing_all_teams: bool,
}Fields§
§enabled: bool§create_default_team: bool§custom_create_default_team: Option<CustomCreateDefaultTeamHook>§maximum_teams: Option<usize>§maximum_members_per_team: Option<usize>§allow_removing_all_teams: boolTrait Implementations§
Source§impl Clone for TeamOptions
impl Clone for TeamOptions
Source§fn clone(&self) -> TeamOptions
fn clone(&self) -> TeamOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TeamOptions
impl Debug for TeamOptions
Auto Trait Implementations§
impl !RefUnwindSafe for TeamOptions
impl !UnwindSafe for TeamOptions
impl Freeze for TeamOptions
impl Send for TeamOptions
impl Sync for TeamOptions
impl Unpin for TeamOptions
impl UnsafeUnpin for TeamOptions
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