pub enum UserRole {
Owner,
Guest,
Public,
}Expand description
Role assigned to a user based on config (owner_ids).
Variants§
Owner
Full access — listed in users.owner_ids.
Guest
Allowed by channel allowlist but not an owner.
Public
Non-whitelisted user — conversational access only, no tools.
Trait Implementations§
impl Copy for UserRole
impl Eq for UserRole
impl StructuralPartialEq for UserRole
Auto Trait Implementations§
impl Forget for UserRole
impl Freeze for UserRole
impl Move for UserRole
impl RefUnwindSafe for UserRole
impl Send for UserRole
impl Sync for UserRole
impl Unpin for UserRole
impl UnsafeUnpin for UserRole
impl UnwindSafe for UserRole
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