pub struct SetMyProfilePhoto { /* private fields */ }Expand description
Builder for the setMyProfilePhoto method (Bot API 9.4).
Changes the profile photo of the bot. The photo must be uploaded via
multipart/form-data as an InputProfilePhoto.
Trait Implementations§
Source§impl IntoFuture for SetMyProfilePhoto
impl IntoFuture for SetMyProfilePhoto
Source§type IntoFuture = Pin<Box<dyn Future<Output = <SetMyProfilePhoto as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <SetMyProfilePhoto as IntoFuture>::Output> + 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
Auto Trait Implementations§
impl Freeze for SetMyProfilePhoto
impl !RefUnwindSafe for SetMyProfilePhoto
impl Send for SetMyProfilePhoto
impl Sync for SetMyProfilePhoto
impl Unpin for SetMyProfilePhoto
impl UnsafeUnpin for SetMyProfilePhoto
impl !UnwindSafe for SetMyProfilePhoto
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more