pub struct PaidMediaPhoto {
pub photo: Vec<PhotoSize>,
}Expand description
A photo available as paid media.
Fields§
§photo: Vec<PhotoSize>Available sizes of the photo.
Trait Implementations§
Source§impl Clone for PaidMediaPhoto
impl Clone for PaidMediaPhoto
Source§fn clone(&self) -> PaidMediaPhoto
fn clone(&self) -> PaidMediaPhoto
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 PaidMediaPhoto
impl Debug for PaidMediaPhoto
Source§impl<'de> Deserialize<'de> for PaidMediaPhoto
impl<'de> Deserialize<'de> for PaidMediaPhoto
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 PaidMediaPhoto
impl RefUnwindSafe for PaidMediaPhoto
impl Send for PaidMediaPhoto
impl Sync for PaidMediaPhoto
impl Unpin for PaidMediaPhoto
impl UnsafeUnpin for PaidMediaPhoto
impl UnwindSafe for PaidMediaPhoto
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