pub struct SetBusinessAccountProfilePhoto { /* private fields */ }Expand description
Builder for the setBusinessAccountProfilePhoto method.
Changes the profile photo of a managed business account.
Requires the can_edit_profile_photo business bot right.
Pass the photo as serde_json::to_value(&input_profile_photo).
Implementations§
Trait Implementations§
Source§impl IntoFuture for SetBusinessAccountProfilePhoto
impl IntoFuture for SetBusinessAccountProfilePhoto
Source§type IntoFuture = Pin<Box<dyn Future<Output = <SetBusinessAccountProfilePhoto as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <SetBusinessAccountProfilePhoto 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 SetBusinessAccountProfilePhoto
impl !RefUnwindSafe for SetBusinessAccountProfilePhoto
impl Send for SetBusinessAccountProfilePhoto
impl Sync for SetBusinessAccountProfilePhoto
impl Unpin for SetBusinessAccountProfilePhoto
impl UnsafeUnpin for SetBusinessAccountProfilePhoto
impl !UnwindSafe for SetBusinessAccountProfilePhoto
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