pub struct TeamOptions {
pub enabled: bool,
pub create_default_team: bool,
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§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
Source§impl Default for TeamOptions
impl Default for TeamOptions
Source§impl PartialEq for TeamOptions
impl PartialEq for TeamOptions
Source§fn eq(&self, other: &TeamOptions) -> bool
fn eq(&self, other: &TeamOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TeamOptions
impl StructuralPartialEq for TeamOptions
Auto Trait Implementations§
impl Freeze for TeamOptions
impl RefUnwindSafe for TeamOptions
impl Send for TeamOptions
impl Sync for TeamOptions
impl Unpin for TeamOptions
impl UnsafeUnpin for TeamOptions
impl UnwindSafe 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.