pub struct ChatPhoto {
pub small: File,
pub big: File,
}
Expand description
Describes the photo of a chat
Fields§
§small: File
A small (160x160) chat photo
big: File
A big (640x640) chat photo
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChatPhoto
impl<'de> Deserialize<'de> for ChatPhoto
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
Auto Trait Implementations§
impl Freeze for ChatPhoto
impl RefUnwindSafe for ChatPhoto
impl Send for ChatPhoto
impl Sync for ChatPhoto
impl Unpin for ChatPhoto
impl UnwindSafe for ChatPhoto
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