pub struct PaymentIntentNextActionPromptpayDisplayQrCode {
pub data: String,
pub hosted_instructions_url: String,
pub image_url_png: String,
pub image_url_svg: String,
}
Fields§
§data: String
The raw data string used to generate QR code, it should be used together with QR code library.
hosted_instructions_url: String
The URL to the hosted PromptPay instructions page, which allows customers to view the PromptPay QR code.
image_url_png: String
The PNG path used to render the QR code, can be used as the source in an HTML img tag.
image_url_svg: String
The SVG path used to render the QR code, can be used as the source in an HTML img tag.
Trait Implementations§
source§impl Clone for PaymentIntentNextActionPromptpayDisplayQrCode
impl Clone for PaymentIntentNextActionPromptpayDisplayQrCode
source§fn clone(&self) -> PaymentIntentNextActionPromptpayDisplayQrCode
fn clone(&self) -> PaymentIntentNextActionPromptpayDisplayQrCode
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 Default for PaymentIntentNextActionPromptpayDisplayQrCode
impl Default for PaymentIntentNextActionPromptpayDisplayQrCode
source§fn default() -> PaymentIntentNextActionPromptpayDisplayQrCode
fn default() -> PaymentIntentNextActionPromptpayDisplayQrCode
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PaymentIntentNextActionPromptpayDisplayQrCode
impl<'de> Deserialize<'de> for PaymentIntentNextActionPromptpayDisplayQrCode
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
Auto Trait Implementations§
impl Freeze for PaymentIntentNextActionPromptpayDisplayQrCode
impl RefUnwindSafe for PaymentIntentNextActionPromptpayDisplayQrCode
impl Send for PaymentIntentNextActionPromptpayDisplayQrCode
impl Sync for PaymentIntentNextActionPromptpayDisplayQrCode
impl Unpin for PaymentIntentNextActionPromptpayDisplayQrCode
impl UnwindSafe for PaymentIntentNextActionPromptpayDisplayQrCode
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