Struct twilight_http::request::channel::message::GetMessage
source · pub struct GetMessage<'a> { /* private fields */ }
Expand description
Get a message by Id<ChannelMarker>
and Id<MessageMarker>
.
Implementations§
source§impl<'a> GetMessage<'a>
impl<'a> GetMessage<'a>
Trait Implementations§
source§impl IntoFuture for GetMessage<'_>
impl IntoFuture for GetMessage<'_>
§type Output = Result<Response<Message>, Error>
type Output = Result<Response<Message>, Error>
The output that the future will produce on completion.
§type IntoFuture = ResponseFuture<Message>
type IntoFuture = ResponseFuture<Message>
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