struct ChannelOverwrites {
everyone: (Permissions, Permissions),
roles: HashMap<Id<RoleMarker>, (Permissions, Permissions)>,
members: HashMap<Id<UserMarker>, (Permissions, Permissions)>,
}Expand description
A channel’s permission overwrites, split by what they target and masked to the permissions that matter for that channel.
Fields§
§everyone: (Permissions, Permissions)§roles: HashMap<Id<RoleMarker>, (Permissions, Permissions)>§members: HashMap<Id<UserMarker>, (Permissions, Permissions)>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for ChannelOverwrites
impl Freeze for ChannelOverwrites
impl Move for ChannelOverwrites
impl RefUnwindSafe for ChannelOverwrites
impl Send for ChannelOverwrites
impl Sync for ChannelOverwrites
impl Unpin for ChannelOverwrites
impl UnsafeUnpin for ChannelOverwrites
impl UnwindSafe for ChannelOverwrites
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