pub struct MessageSuggestProfilePhoto {
pub photo: ChatPhoto,
}
Expand description
A profile photo was suggested to a user in a private chat
Fields§
§photo: ChatPhoto
The suggested chat photo. Use the method setProfilePhoto with inputChatPhotoPrevious to apply the photo
Trait Implementations§
Source§impl Clone for MessageSuggestProfilePhoto
impl Clone for MessageSuggestProfilePhoto
Source§fn clone(&self) -> MessageSuggestProfilePhoto
fn clone(&self) -> MessageSuggestProfilePhoto
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MessageSuggestProfilePhoto
impl Debug for MessageSuggestProfilePhoto
Source§impl<'de> Deserialize<'de> for MessageSuggestProfilePhoto
impl<'de> Deserialize<'de> for MessageSuggestProfilePhoto
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for MessageSuggestProfilePhoto
Auto Trait Implementations§
impl Freeze for MessageSuggestProfilePhoto
impl RefUnwindSafe for MessageSuggestProfilePhoto
impl Send for MessageSuggestProfilePhoto
impl Sync for MessageSuggestProfilePhoto
impl Unpin for MessageSuggestProfilePhoto
impl UnwindSafe for MessageSuggestProfilePhoto
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