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<u32>,
pub max_tip_amount: Option<u32>,
pub suggested_tip_amounts: Option<Vec<u32>>,
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>,
}Fields§
§business_connection_id: Option<String>§title: String§description: String§payload: String§provider_token: Option<String>§currency: String§prices: Vec<LabeledPrice>§subscription_period: Option<u32>§max_tip_amount: Option<u32>§suggested_tip_amounts: Option<Vec<u32>>§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>Implementations§
Source§impl CreateInvoiceLinkParams
impl CreateInvoiceLinkParams
Sourcepub fn builder() -> CreateInvoiceLinkParamsBuilder
pub fn builder() -> CreateInvoiceLinkParamsBuilder
Create an instance of CreateInvoiceLinkParams using the builder syntax
Trait 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 · 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
Source§impl<'de> Deserialize<'de> for CreateInvoiceLinkParams
impl<'de> Deserialize<'de> for CreateInvoiceLinkParams
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
Source§impl PartialEq for CreateInvoiceLinkParams
impl PartialEq for CreateInvoiceLinkParams
Source§impl Serialize for CreateInvoiceLinkParams
impl Serialize for CreateInvoiceLinkParams
impl Eq for CreateInvoiceLinkParams
impl StructuralPartialEq 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