pub struct CreateQR<'a> {
pub type: QRType,
pub expires_at: Option<&'a str>,
pub amount_type: PaymentType,
pub amount: Decimal,
pub amount_min: Option<Decimal>,
pub amount_max: Option<Decimal>,
pub currency: Currency,
pub description: String,
pub order_id: Option<&'a str>,
pub callback_url: String,
pub redirect_url: String,
pub terminal_id: Option<String>,
}Fields§
§type: QRType§expires_at: Option<&'a str>Date time when Dynamic QR expires.
Must be a valid ISO 8601-1:2019 value.
amount_type: PaymentType§amount: Decimal§amount_min: Option<Decimal>§amount_max: Option<Decimal>§currency: Currency§description: String§order_id: Option<&'a str>§callback_url: String§redirect_url: String§terminal_id: Option<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for CreateQR<'a>
impl<'a> RefUnwindSafe for CreateQR<'a>
impl<'a> Send for CreateQR<'a>
impl<'a> Sync for CreateQR<'a>
impl<'a> Unpin for CreateQR<'a>
impl<'a> UnwindSafe for CreateQR<'a>
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