pub struct SetChatPhoto { /* private fields */ }Expand description
Builder for the setChatPhoto method.
Sets a new profile photo for the chat. Must be uploaded via multipart/form-data.
Trait Implementations§
Source§impl IntoFuture for SetChatPhoto
impl IntoFuture for SetChatPhoto
Source§type IntoFuture = Pin<Box<dyn Future<Output = <SetChatPhoto as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <SetChatPhoto 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 !RefUnwindSafe for SetChatPhoto
impl !UnwindSafe for SetChatPhoto
impl Freeze for SetChatPhoto
impl Send for SetChatPhoto
impl Sync for SetChatPhoto
impl Unpin for SetChatPhoto
impl UnsafeUnpin for SetChatPhoto
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