pub struct GetAutoModerationRule<'a> { /* private fields */ }
Expand description
Get an auto moderation rule in a guild.
Requires the MANAGE_GUILD
permission.
Trait Implementations§
source§impl IntoFuture for GetAutoModerationRule<'_>
impl IntoFuture for GetAutoModerationRule<'_>
source§type Output = Result<Response<AutoModerationRule>, Error>
type Output = Result<Response<AutoModerationRule>, Error>
The output that the future will produce on completion.
source§type IntoFuture = ResponseFuture<AutoModerationRule>
type IntoFuture = ResponseFuture<AutoModerationRule>
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 GetAutoModerationRule<'_>
impl TryIntoRequest for GetAutoModerationRule<'_>
Auto Trait Implementations§
impl<'a> Freeze for GetAutoModerationRule<'a>
impl<'a> !RefUnwindSafe for GetAutoModerationRule<'a>
impl<'a> Send for GetAutoModerationRule<'a>
impl<'a> Sync for GetAutoModerationRule<'a>
impl<'a> Unpin for GetAutoModerationRule<'a>
impl<'a> !UnwindSafe for GetAutoModerationRule<'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