pub enum GroupInvitePolicy {
Ignore,
Accept,
AcceptFromContact,
AllowList,
}Variants§
Ignore
Ignore all group invites
Accept
Accept all group invites
AcceptFromContact
Only accept group invites from contacts. Pairs strongly with NewContactPolicy of AllowList
AllowList
AllowList is a list of handles that group invites will be allowed from and connected to, and will be accepted. Everything else will be ignored
Auto Trait Implementations§
impl Freeze for GroupInvitePolicy
impl RefUnwindSafe for GroupInvitePolicy
impl Send for GroupInvitePolicy
impl Sync for GroupInvitePolicy
impl Unpin for GroupInvitePolicy
impl UnwindSafe for GroupInvitePolicy
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