Struct twilight_http::request::channel::DeleteChannelPermission [−][src]
pub struct DeleteChannelPermission<'a> { /* fields omitted */ }
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
pub fn member(
self,
user_id: impl Into<UserId>
) -> DeleteChannelPermissionConfigured<'a>ⓘNotable traits for DeleteChannelPermissionConfigured<'_>
impl Future for DeleteChannelPermissionConfigured<'_> type Output = Result<(), Error>;
[src]
pub fn member(
self,
user_id: impl Into<UserId>
) -> DeleteChannelPermissionConfigured<'a>ⓘNotable traits for DeleteChannelPermissionConfigured<'_>
impl Future for DeleteChannelPermissionConfigured<'_> type Output = Result<(), Error>;
[src]Delete an override for an member.
pub fn role(
self,
role_id: impl Into<RoleId>
) -> DeleteChannelPermissionConfigured<'a>ⓘNotable traits for DeleteChannelPermissionConfigured<'_>
impl Future for DeleteChannelPermissionConfigured<'_> type Output = Result<(), Error>;
[src]
pub fn role(
self,
role_id: impl Into<RoleId>
) -> DeleteChannelPermissionConfigured<'a>ⓘNotable traits for DeleteChannelPermissionConfigured<'_>
impl Future for DeleteChannelPermissionConfigured<'_> type Output = Result<(), Error>;
[src]Delete an override for an role.
Auto Trait Implementations
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>