pub enum InviteCreation {
Permission,
Active,
Moderators,
}Expand description
The admission policy’s invite_creation rule (specification §8.9).
Variants§
Permission
Anyone with CREATE_INVITE, Probation members included.
Active
Active members with CREATE_INVITE.
Moderators
Only members with MANAGE_INVITES (and CREATE_INVITE).
Implementations§
Trait Implementations§
Source§impl Clone for InviteCreation
impl Clone for InviteCreation
Source§fn clone(&self) -> InviteCreation
fn clone(&self) -> InviteCreation
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 moreimpl Copy for InviteCreation
Source§impl Debug for InviteCreation
impl Debug for InviteCreation
impl Eq for InviteCreation
Source§impl Hash for InviteCreation
impl Hash for InviteCreation
Source§impl PartialEq for InviteCreation
impl PartialEq for InviteCreation
impl StructuralPartialEq for InviteCreation
Auto Trait Implementations§
impl Freeze for InviteCreation
impl RefUnwindSafe for InviteCreation
impl Send for InviteCreation
impl Sync for InviteCreation
impl Unpin for InviteCreation
impl UnsafeUnpin for InviteCreation
impl UnwindSafe for InviteCreation
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