Struct frankenstein::api_params::SendInvoiceParams [−][src]
pub struct SendInvoiceParams {}Show fields
pub chat_id: i64, pub title: String, pub description: String, pub payload: String, pub provider_token: String, pub currency: String, pub prices: Vec<LabeledPrice>, pub max_tip_amount: Option<u32>, pub suggested_tip_amounts: Option<Vec<u32>>, pub start_parameter: Option<String>, pub provider_data: Option<String>, pub photo_url: Option<String>, pub photo_size: Option<u32>, pub photo_width: Option<u32>, pub photo_height: Option<u32>, pub need_name: Option<bool>, pub need_phone_number: Option<bool>, pub need_email: Option<bool>, pub need_shipping_address: Option<bool>, pub send_phone_number_to_provider: Option<bool>, pub send_email_to_provider: Option<bool>, pub is_flexible: Option<bool>, pub disable_notification: Option<bool>, pub reply_to_message_id: Option<i32>, pub allow_sending_without_reply: Option<bool>, pub reply_markup: Option<InlineKeyboardMarkup>,
Fields
chat_id: i64
title: String
description: String
payload: String
provider_token: String
currency: String
prices: Vec<LabeledPrice>
max_tip_amount: Option<u32>
suggested_tip_amounts: Option<Vec<u32>>
start_parameter: Option<String>
provider_data: Option<String>
photo_url: Option<String>
photo_size: Option<u32>
photo_width: Option<u32>
photo_height: Option<u32>
need_name: Option<bool>
need_phone_number: Option<bool>
need_email: Option<bool>
need_shipping_address: Option<bool>
send_phone_number_to_provider: Option<bool>
send_email_to_provider: Option<bool>
is_flexible: Option<bool>
disable_notification: Option<bool>
reply_to_message_id: Option<i32>
allow_sending_without_reply: Option<bool>
reply_markup: Option<InlineKeyboardMarkup>
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SendInvoiceParams
impl Send for SendInvoiceParams
impl Sync for SendInvoiceParams
impl Unpin for SendInvoiceParams
impl UnwindSafe for SendInvoiceParams
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn clone_any_send(&self) -> Box<dyn CloneAny + Send + 'static, Global> where
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + Sync + 'static, Global> where
T: Sync,
pub fn vzip(self) -> V
impl<T> UnsafeAny for T where
T: Any,