pub struct BotInlineMessageMediaInvoice {
pub shipping_address_requested: bool,
pub test: bool,
pub title: String,
pub description: String,
pub photo: Option<WebDocument>,
pub currency: String,
pub total_amount: i64,
pub reply_markup: Option<ReplyMarkup>,
}Expand description
Read botInlineMessageMediaInvoice docs.
Generated from the following TL definition:
botInlineMessageMediaInvoice#354a9b09 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument currency:string total_amount:long reply_markup:flags.2?ReplyMarkup = BotInlineMessageFields§
§shipping_address_requested: bool§test: bool§title: String§description: String§photo: Option<WebDocument>§currency: String§total_amount: i64§reply_markup: Option<ReplyMarkup>Trait Implementations§
Source§impl Clone for BotInlineMessageMediaInvoice
impl Clone for BotInlineMessageMediaInvoice
Source§fn clone(&self) -> BotInlineMessageMediaInvoice
fn clone(&self) -> BotInlineMessageMediaInvoice
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 BotInlineMessageMediaInvoice
impl Debug for BotInlineMessageMediaInvoice
Source§impl From<BotInlineMessageMediaInvoice> for BotInlineMessage
impl From<BotInlineMessageMediaInvoice> for BotInlineMessage
Source§fn from(x: BotInlineMessageMediaInvoice) -> Self
fn from(x: BotInlineMessageMediaInvoice) -> Self
Converts to this type from the input type.
Source§impl Identifiable for BotInlineMessageMediaInvoice
impl Identifiable for BotInlineMessageMediaInvoice
Source§const CONSTRUCTOR_ID: u32 = 894081801
const CONSTRUCTOR_ID: u32 = 894081801
The unique identifier for the type.
Source§impl PartialEq for BotInlineMessageMediaInvoice
impl PartialEq for BotInlineMessageMediaInvoice
Source§fn eq(&self, other: &BotInlineMessageMediaInvoice) -> bool
fn eq(&self, other: &BotInlineMessageMediaInvoice) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BotInlineMessageMediaInvoice
Auto Trait Implementations§
impl Freeze for BotInlineMessageMediaInvoice
impl RefUnwindSafe for BotInlineMessageMediaInvoice
impl Send for BotInlineMessageMediaInvoice
impl Sync for BotInlineMessageMediaInvoice
impl Unpin for BotInlineMessageMediaInvoice
impl UnsafeUnpin for BotInlineMessageMediaInvoice
impl UnwindSafe for BotInlineMessageMediaInvoice
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