pub struct PaymentIntentNextActionPaynowDisplayQrCode {
pub data: String,
pub hosted_instructions_url: Option<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: Option<String>
The URL to the hosted PayNow instructions page, which allows customers to view the PayNow QR code.
image_url_png: String
The image_url_png string used to render QR code.
image_url_svg: String
The image_url_svg string used to render QR code.
Trait Implementations§
source§impl Clone for PaymentIntentNextActionPaynowDisplayQrCode
impl Clone for PaymentIntentNextActionPaynowDisplayQrCode
source§fn clone(&self) -> PaymentIntentNextActionPaynowDisplayQrCode
fn clone(&self) -> PaymentIntentNextActionPaynowDisplayQrCode
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 PaymentIntentNextActionPaynowDisplayQrCode
impl Default for PaymentIntentNextActionPaynowDisplayQrCode
source§fn default() -> PaymentIntentNextActionPaynowDisplayQrCode
fn default() -> PaymentIntentNextActionPaynowDisplayQrCode
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PaymentIntentNextActionPaynowDisplayQrCode
impl<'de> Deserialize<'de> for PaymentIntentNextActionPaynowDisplayQrCode
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 PaymentIntentNextActionPaynowDisplayQrCode
impl RefUnwindSafe for PaymentIntentNextActionPaynowDisplayQrCode
impl Send for PaymentIntentNextActionPaynowDisplayQrCode
impl Sync for PaymentIntentNextActionPaynowDisplayQrCode
impl Unpin for PaymentIntentNextActionPaynowDisplayQrCode
impl UnwindSafe for PaymentIntentNextActionPaynowDisplayQrCode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)