Struct teloxide::adaptors::cache_me::CachedMeRequest
source · Available on crate feature
cache_me
only.Trait Implementations§
source§impl<R> HasPayload for CachedMeRequest<R>where
R: Request<Payload = GetMe>,
impl<R> HasPayload for CachedMeRequest<R>where
R: Request<Payload = GetMe>,
source§fn payload_mut(&mut self) -> &mut <CachedMeRequest<R> as HasPayload>::Payload ⓘ
fn payload_mut(&mut self) -> &mut <CachedMeRequest<R> as HasPayload>::Payload ⓘ
Gain mutable access to the underlying payload.
source§fn payload_ref(&self) -> &<CachedMeRequest<R> as HasPayload>::Payload ⓘ
fn payload_ref(&self) -> &<CachedMeRequest<R> as HasPayload>::Payload ⓘ
Gain immutable access to the underlying payload.
source§impl<R> IntoFuture for CachedMeRequest<R>where
R: Request<Payload = GetMe>,
impl<R> IntoFuture for CachedMeRequest<R>where
R: Request<Payload = GetMe>,
§type Output = Result<Me, <R as Request>::Err>
type Output = Result<Me, <R as Request>::Err>
The output that the future will produce on completion.
§type IntoFuture = Send<R>
type IntoFuture = Send<R>
Which kind of future are we turning this into?
source§fn into_future(self) -> <CachedMeRequest<R> as IntoFuture>::IntoFuture ⓘ
fn into_future(self) -> <CachedMeRequest<R> as IntoFuture>::IntoFuture ⓘ
Creates a future from a value. Read more