pub struct DeleteChannelPermission<'a> { /* private fields */ }
Expand description
Clear the permissions for a target ID in a channel.
The target ID must be set with one of the associated methods.
Implementations§
source§impl<'a> DeleteChannelPermission<'a>
impl<'a> DeleteChannelPermission<'a>
sourcepub const fn member(
self,
user_id: Id<UserMarker>,
) -> DeleteChannelPermissionConfigured<'a>
pub const fn member( self, user_id: Id<UserMarker>, ) -> DeleteChannelPermissionConfigured<'a>
Delete an override for an member.
sourcepub const fn role(
self,
role_id: Id<RoleMarker>,
) -> DeleteChannelPermissionConfigured<'a>
pub const fn role( self, role_id: Id<RoleMarker>, ) -> DeleteChannelPermissionConfigured<'a>
Delete an override for an role.
Auto Trait Implementations§
impl<'a> Freeze for DeleteChannelPermission<'a>
impl<'a> !RefUnwindSafe for DeleteChannelPermission<'a>
impl<'a> Send for DeleteChannelPermission<'a>
impl<'a> Sync for DeleteChannelPermission<'a>
impl<'a> Unpin for DeleteChannelPermission<'a>
impl<'a> !UnwindSafe for DeleteChannelPermission<'a>
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