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