pub struct InputPaidMediaPhoto {
pub media: String,
}Expand description
A photo to send as paid media.
Fields§
§media: StringFile to send: file_id, HTTP URL, or "attach://<n>".
Trait Implementations§
Source§impl Clone for InputPaidMediaPhoto
impl Clone for InputPaidMediaPhoto
Source§fn clone(&self) -> InputPaidMediaPhoto
fn clone(&self) -> InputPaidMediaPhoto
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 InputPaidMediaPhoto
impl Debug for InputPaidMediaPhoto
Source§impl<'de> Deserialize<'de> for InputPaidMediaPhoto
impl<'de> Deserialize<'de> for InputPaidMediaPhoto
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 InputPaidMediaPhoto
impl RefUnwindSafe for InputPaidMediaPhoto
impl Send for InputPaidMediaPhoto
impl Sync for InputPaidMediaPhoto
impl Unpin for InputPaidMediaPhoto
impl UnsafeUnpin for InputPaidMediaPhoto
impl UnwindSafe for InputPaidMediaPhoto
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