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§
source§impl<'a> GetGuildWelcomeScreen<'a>
impl<'a> GetGuildWelcomeScreen<'a>
sourcepub fn exec(self) -> ResponseFuture<WelcomeScreen> ⓘ
👎Deprecated since 0.14.0: use .await or into_future instead
pub fn exec(self) -> ResponseFuture<WelcomeScreen> ⓘ
.await or into_future insteadExecute the request, returning a future resolving to a Response.
Trait Implementations§
source§impl IntoFuture for GetGuildWelcomeScreen<'_>
impl IntoFuture for GetGuildWelcomeScreen<'_>
§type Output = Result<Response<WelcomeScreen>, Error>
type Output = Result<Response<WelcomeScreen>, Error>
The output that the future will produce on completion.
§type IntoFuture = ResponseFuture<WelcomeScreen>
type IntoFuture = ResponseFuture<WelcomeScreen>
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