pub struct GetChannelRolePermissions<'a> { /* private fields */ }Expand description
Get the permissions granted by the specified role together with @everyone,
applying their channel overwrites.
Other roles and member-specific overwrites are not included. Threads use their parent channel’s overwrites.
Requires the VIEW_CHANNEL permission. Also requires the CONNECT
permission for voice and stage channels.
Implementations§
Source§impl<'a> GetChannelRolePermissions<'a>
impl<'a> GetChannelRolePermissions<'a>
Trait Implementations§
Source§impl IntoFuture for GetChannelRolePermissions<'_>
impl IntoFuture for GetChannelRolePermissions<'_>
Source§type Output = Result<Response<GetChannelRolePermissionsResponseBody>, Error>
type Output = Result<Response<GetChannelRolePermissionsResponseBody>, Error>
The output that the future will produce on completion.
Source§type IntoFuture = ResponseFuture<GetChannelRolePermissionsResponseBody>
type IntoFuture = ResponseFuture<GetChannelRolePermissionsResponseBody>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Source§impl TryIntoRequest for GetChannelRolePermissions<'_>
impl TryIntoRequest for GetChannelRolePermissions<'_>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for GetChannelRolePermissions<'a>
impl<'a> !UnwindSafe for GetChannelRolePermissions<'a>
impl<'a> Forget for GetChannelRolePermissions<'a>
impl<'a> Freeze for GetChannelRolePermissions<'a>
impl<'a> Move for GetChannelRolePermissions<'a>
impl<'a> Send for GetChannelRolePermissions<'a>
impl<'a> Sync for GetChannelRolePermissions<'a>
impl<'a> Unpin for GetChannelRolePermissions<'a>
impl<'a> UnsafeUnpin for GetChannelRolePermissions<'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