Struct paypal_rs::invoice::QRCodeParams [−][src]
Expand description
QR creation parameters
Fields
width: i32
The width, in pixels, of the QR code image. Value is from 150 to 500.
height: i32
The height, in pixels, of the QR code image. Value is from 150 to 500.
action: Option<String>
The type of URL for which to generate a QR code. Valid values are pay and details.
Check QR_ACTION_PAY and QR_ACTION_DETAILS constants
Trait Implementations
Returns the “default value” for a type. Read more
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 RefUnwindSafe for QRCodeParams
impl Send for QRCodeParams
impl Sync for QRCodeParams
impl Unpin for QRCodeParams
impl UnwindSafe for QRCodeParams