pub struct Photo {
pub has_stickers: bool,
pub minithumbnail: Option<Minithumbnail>,
pub sizes: Vec<PhotoSize>,
}
Expand description
Describes a photo
Fields§
§has_stickers: bool
True, if stickers were added to the photo. The list of corresponding sticker sets can be received using getAttachedStickerSets
minithumbnail: Option<Minithumbnail>
Photo minithumbnail; may be null
sizes: Vec<PhotoSize>
Available variants of the photo, in different sizes
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Photo
impl<'de> Deserialize<'de> for Photo
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 Photo
Auto Trait Implementations§
impl Freeze for Photo
impl RefUnwindSafe for Photo
impl Send for Photo
impl Sync for Photo
impl Unpin for Photo
impl UnwindSafe for Photo
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