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 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 FromValueOpt for PaymentIntentNextActionPromptpayDisplayQrCode
impl FromValueOpt for PaymentIntentNextActionPromptpayDisplayQrCode
fn from_value(v: Value) -> Option<Self>
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