Struct twilight_http::request::channel::DeleteChannelPermission [−][src]
pub struct DeleteChannelPermission<'a> { /* fields omitted */ }
Clear the permissions for a target ID in a channel.
The target ID must be set with one of the associated methods.
Implementations
impl<'a> DeleteChannelPermission<'a>
[src]
impl<'a> DeleteChannelPermission<'a>
[src]pub fn member(
self,
user_id: impl Into<UserId>
) -> DeleteChannelPermissionConfigured<'a>ⓘNotable traits for DeleteChannelPermissionConfigured<'_>
impl Future for DeleteChannelPermissionConfigured<'_> type Output = Result<()>;
[src]
pub fn member(
self,
user_id: impl Into<UserId>
) -> DeleteChannelPermissionConfigured<'a>ⓘNotable traits for DeleteChannelPermissionConfigured<'_>
impl Future for DeleteChannelPermissionConfigured<'_> type Output = Result<()>;
[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<()>;
[src]
pub fn role(
self,
role_id: impl Into<RoleId>
) -> DeleteChannelPermissionConfigured<'a>ⓘNotable traits for DeleteChannelPermissionConfigured<'_>
impl Future for DeleteChannelPermissionConfigured<'_> type Output = Result<()>;
[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>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,