Struct rust_tdlib::types::InputMessageInvoice
source · pub struct InputMessageInvoice { /* private fields */ }
Expand description
A message with an invoice; can be used only by bots
Implementations§
source§impl InputMessageInvoice
impl InputMessageInvoice
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> InputMessageInvoiceBuilder
pub fn invoice(&self) -> &Invoice
pub fn title(&self) -> &String
pub fn description(&self) -> &String
pub fn photo_url(&self) -> &String
pub fn photo_size(&self) -> i32
pub fn photo_width(&self) -> i32
pub fn photo_height(&self) -> i32
pub fn payload(&self) -> &String
pub fn provider_token(&self) -> &String
pub fn provider_data(&self) -> &String
pub fn start_parameter(&self) -> &String
Trait Implementations§
source§impl AsRef<InputMessageInvoice> for InputMessageInvoice
impl AsRef<InputMessageInvoice> for InputMessageInvoice
source§fn as_ref(&self) -> &InputMessageInvoice
fn as_ref(&self) -> &InputMessageInvoice
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for InputMessageInvoice
impl Clone for InputMessageInvoice
source§fn clone(&self) -> InputMessageInvoice
fn clone(&self) -> InputMessageInvoice
Returns a copy 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 InputMessageInvoice
impl Debug for InputMessageInvoice
source§impl Default for InputMessageInvoice
impl Default for InputMessageInvoice
source§fn default() -> InputMessageInvoice
fn default() -> InputMessageInvoice
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InputMessageInvoice
impl<'de> Deserialize<'de> for InputMessageInvoice
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