Struct teloxide_core::adaptors::cache_me::CachedMeRequest
source · pub struct CachedMeRequest<R: Request<Payload = GetMe>>(_, _);
Available on crate feature
cache_me
only.Trait Implementations§
source§impl<R: Request<Payload = GetMe>> HasPayload for CachedMeRequest<R>
impl<R: Request<Payload = GetMe>> HasPayload for CachedMeRequest<R>
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: Request<Payload = GetMe>> IntoFuture for CachedMeRequest<R>
impl<R: Request<Payload = GetMe>> IntoFuture for CachedMeRequest<R>
§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) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more