Struct twilight_http::request::channel::FollowNewsChannel
source · pub struct FollowNewsChannel<'a> { /* private fields */ }Expand description
Follow a news channel by Id<ChannelMarker>s.
Implementations§
source§impl<'a> FollowNewsChannel<'a>
impl<'a> FollowNewsChannel<'a>
sourcepub fn exec(self) -> ResponseFuture<FollowedChannel> ⓘ
👎Deprecated since 0.14.0: use .await or into_future instead
pub fn exec(self) -> ResponseFuture<FollowedChannel> ⓘ
.await or into_future insteadExecute the request, returning a future resolving to a Response.
Trait Implementations§
source§impl IntoFuture for FollowNewsChannel<'_>
impl IntoFuture for FollowNewsChannel<'_>
§type Output = Result<Response<FollowedChannel>, Error>
type Output = Result<Response<FollowedChannel>, Error>
The output that the future will produce on completion.
§type IntoFuture = ResponseFuture<FollowedChannel>
type IntoFuture = ResponseFuture<FollowedChannel>
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