Struct teloxide_core::adaptors::trace::TraceRequest
source · pub struct TraceRequest<R> { /* private fields */ }
Available on crate feature
trace_adaptor
only.Trait Implementations§
source§impl<R> HasPayload for TraceRequest<R>where
R: HasPayload,
impl<R> HasPayload for TraceRequest<R>where R: HasPayload,
§type Payload = <R as HasPayload>::Payload
type Payload = <R as HasPayload>::Payload
The type of the payload contained.
source§fn payload_mut(&mut self) -> &mut Self::Payload
fn payload_mut(&mut self) -> &mut Self::Payload
Gain mutable access to the underlying payload.
source§fn payload_ref(&self) -> &Self::Payload
fn payload_ref(&self) -> &Self::Payload
Gain immutable access to the underlying payload.
source§impl<R> IntoFuture for TraceRequest<R>where
R: Request,
Output<R>: Debug,
R::Err: Debug,
R::Payload: Debug,
impl<R> IntoFuture for TraceRequest<R>where R: Request, Output<R>: Debug, R::Err: Debug, R::Payload: Debug,
§type Output = Result<<<R as HasPayload>::Payload as Payload>::Output, <R as Request>::Err>
type Output = Result<<<R as HasPayload>::Payload as Payload>::Output, <R as Request>::Err>
The output that the future will produce on completion.
§type IntoFuture = Send<<R as Request>::Send>
type IntoFuture = Send<<R as Request>::Send>
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