pub trait CreateInvoiceLinkSetters: Sized + HasPayload<Payload = CreateInvoiceLink> {
Show 22 methods
// Provided methods
fn title<T>(self, value: T) -> Self
where T: Into<String> { ... }
fn description<T>(self, value: T) -> Self
where T: Into<String> { ... }
fn payload<T>(self, value: T) -> Self
where T: Into<String> { ... }
fn currency<T>(self, value: T) -> Self
where T: Into<String> { ... }
fn prices<T>(self, value: T) -> Self
where T: IntoIterator<Item = <Vec<LabeledPrice> as IntoIterator>::Item> { ... }
fn provider_token<T>(self, value: T) -> Self
where T: Into<String> { ... }
fn business_connection_id(self, value: BusinessConnectionId) -> Self { ... }
fn subscription_period(self, value: Seconds) -> Self { ... }
fn max_tip_amount(self, value: u64) -> Self { ... }
fn suggested_tip_amounts<T>(self, value: T) -> Self
where T: IntoIterator<Item = <Vec<u64> as IntoIterator>::Item> { ... }
fn provider_data<T>(self, value: T) -> Self
where T: Into<String> { ... }
fn photo_url<T>(self, value: T) -> Self
where T: Into<String> { ... }
fn photo_size(self, value: u32) -> Self { ... }
fn photo_width(self, value: u32) -> Self { ... }
fn photo_height(self, value: u32) -> Self { ... }
fn need_name(self, value: bool) -> Self { ... }
fn need_phone_number(self, value: bool) -> Self { ... }
fn need_email(self, value: bool) -> Self { ... }
fn need_shipping_address(self, value: bool) -> Self { ... }
fn send_phone_number_to_provider(self, value: bool) -> Self { ... }
fn send_email_to_provider(self, value: bool) -> Self { ... }
fn is_flexible(self, value: bool) -> Self { ... }
}Expand description
Setters for fields of CreateInvoiceLink
Provided Methods§
Sourcefn description<T>(self, value: T) -> Self
fn description<T>(self, value: T) -> Self
Setter for description field.
Sourcefn provider_token<T>(self, value: T) -> Self
fn provider_token<T>(self, value: T) -> Self
Setter for provider_token field.
Sourcefn business_connection_id(self, value: BusinessConnectionId) -> Self
fn business_connection_id(self, value: BusinessConnectionId) -> Self
Setter for business_connection_id field.
Sourcefn subscription_period(self, value: Seconds) -> Self
fn subscription_period(self, value: Seconds) -> Self
Setter for subscription_period field.
Sourcefn max_tip_amount(self, value: u64) -> Self
fn max_tip_amount(self, value: u64) -> Self
Setter for max_tip_amount field.
Sourcefn suggested_tip_amounts<T>(self, value: T) -> Self
fn suggested_tip_amounts<T>(self, value: T) -> Self
Setter for suggested_tip_amounts field.
Sourcefn provider_data<T>(self, value: T) -> Self
fn provider_data<T>(self, value: T) -> Self
Setter for provider_data field.
Sourcefn photo_size(self, value: u32) -> Self
fn photo_size(self, value: u32) -> Self
Setter for photo_size field.
Sourcefn photo_width(self, value: u32) -> Self
fn photo_width(self, value: u32) -> Self
Setter for photo_width field.
Sourcefn photo_height(self, value: u32) -> Self
fn photo_height(self, value: u32) -> Self
Setter for photo_height field.
Sourcefn need_phone_number(self, value: bool) -> Self
fn need_phone_number(self, value: bool) -> Self
Setter for need_phone_number field.
Sourcefn need_email(self, value: bool) -> Self
fn need_email(self, value: bool) -> Self
Setter for need_email field.
Sourcefn need_shipping_address(self, value: bool) -> Self
fn need_shipping_address(self, value: bool) -> Self
Setter for need_shipping_address field.
Sourcefn send_phone_number_to_provider(self, value: bool) -> Self
fn send_phone_number_to_provider(self, value: bool) -> Self
Setter for send_phone_number_to_provider field.
Sourcefn send_email_to_provider(self, value: bool) -> Self
fn send_email_to_provider(self, value: bool) -> Self
Setter for send_email_to_provider field.
Sourcefn is_flexible(self, value: bool) -> Self
fn is_flexible(self, value: bool) -> Self
Setter for is_flexible field.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".