Struct clacks_mtproto::mtproto::message_media::Invoice
[−]
[src]
pub struct Invoice { pub shipping_address_requested: bool, pub test: bool, pub title: string, pub description: string, pub photo: Option<WebDocument>, pub receipt_msg_id: Option<int>, pub currency: string, pub total_amount: long, pub start_param: string, }
TL-derived from messageMediaInvoice
messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia;
Fields
shipping_address_requested: bool
test: bool
title: string
description: string
photo: Option<WebDocument>
receipt_msg_id: Option<int>
currency: string
total_amount: long
start_param: string
Trait Implementations
impl Debug for Invoice
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Invoice
[src]
fn clone(&self) -> Invoice
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more