Struct twilight_http::request::guild::GetGuildWelcomeScreen
source · [−]pub struct GetGuildWelcomeScreen<'a> { /* private fields */ }
Expand description
Get the guild’s welcome screen.
If the welcome screen is not enabled, this requires the MANAGE_GUILD
permission.
Implementations
sourceimpl<'a> GetGuildWelcomeScreen<'a>
impl<'a> GetGuildWelcomeScreen<'a>
sourcepub fn exec(self) -> ResponseFuture<WelcomeScreen>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
pub fn exec(self) -> ResponseFuture<WelcomeScreen>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
Execute the request, returning a future resolving to a Response
.
Trait Implementations
sourceimpl TryIntoRequest for GetGuildWelcomeScreen<'_>
impl TryIntoRequest for GetGuildWelcomeScreen<'_>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for GetGuildWelcomeScreen<'a>
impl<'a> Send for GetGuildWelcomeScreen<'a>
impl<'a> Sync for GetGuildWelcomeScreen<'a>
impl<'a> Unpin for GetGuildWelcomeScreen<'a>
impl<'a> !UnwindSafe for GetGuildWelcomeScreen<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more