pub struct CreateInvoiceLinkParams {Show 22 fields
pub business_connection_id: Option<String>,
pub title: String,
pub description: String,
pub payload: String,
pub provider_token: Option<String>,
pub currency: String,
pub prices: Vec<LabeledPrice>,
pub subscription_period: Option<i64>,
pub max_tip_amount: Option<i64>,
pub suggested_tip_amounts: Vec<i64>,
pub provider_data: Option<String>,
pub photo_url: Option<String>,
pub photo_size: Option<i64>,
pub photo_width: Option<i64>,
pub photo_height: Option<i64>,
pub need_name: bool,
pub need_phone_number: bool,
pub need_email: bool,
pub need_shipping_address: bool,
pub send_phone_number_to_provider: bool,
pub send_email_to_provider: bool,
pub is_flexible: bool,
}Fields§
§business_connection_id: Option<String>§title: String§description: String§payload: String§provider_token: Option<String>§currency: String§prices: Vec<LabeledPrice>§subscription_period: Option<i64>§max_tip_amount: Option<i64>§suggested_tip_amounts: Vec<i64>§provider_data: Option<String>§photo_url: Option<String>§photo_size: Option<i64>§photo_width: Option<i64>§photo_height: Option<i64>§need_name: bool§need_phone_number: bool§need_email: bool§need_shipping_address: bool§send_phone_number_to_provider: bool§send_email_to_provider: bool§is_flexible: boolTrait Implementations§
Source§impl Clone for CreateInvoiceLinkParams
impl Clone for CreateInvoiceLinkParams
Source§fn clone(&self) -> CreateInvoiceLinkParams
fn clone(&self) -> CreateInvoiceLinkParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CreateInvoiceLinkParams
impl Debug for CreateInvoiceLinkParams
Auto Trait Implementations§
impl Freeze for CreateInvoiceLinkParams
impl RefUnwindSafe for CreateInvoiceLinkParams
impl Send for CreateInvoiceLinkParams
impl Sync for CreateInvoiceLinkParams
impl Unpin for CreateInvoiceLinkParams
impl UnsafeUnpin for CreateInvoiceLinkParams
impl UnwindSafe for CreateInvoiceLinkParams
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