Struct twilight_http::request::user::CreatePrivateChannel
source · pub struct CreatePrivateChannel<'a> { /* private fields */ }
Expand description
Create a DM channel with a user.
Implementations§
source§impl<'a> CreatePrivateChannel<'a>
impl<'a> CreatePrivateChannel<'a>
pub fn exec(self) -> ResponseFuture<Channel> ⓘ
👎Deprecated since 0.14.0: use
.await
or into_future
insteadTrait Implementations§
source§impl IntoFuture for CreatePrivateChannel<'_>
impl IntoFuture for CreatePrivateChannel<'_>
§type Output = Result<Response<Channel>, Error>
type Output = Result<Response<Channel>, Error>
The output that the future will produce on completion.
§type IntoFuture = ResponseFuture<Channel>
type IntoFuture = ResponseFuture<Channel>
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