pub struct MerchantAccountInfo {
pub gui: String,
pub pix_key: String,
pub description: Option<String>,
pub url: Option<String>,
}
Expand description
Merchant account information specific to PIX
Fields§
§gui: String
Globally Unique Identifier (“br.gov.bcb.pix”)
pix_key: String
PIX key (UUID, email, phone, CPF, CNPJ, or random key)
description: Option<String>
Optional description for the payment
url: Option<String>
URL for dynamic QR codes
Trait Implementations§
Source§impl Clone for MerchantAccountInfo
impl Clone for MerchantAccountInfo
Source§fn clone(&self) -> MerchantAccountInfo
fn clone(&self) -> MerchantAccountInfo
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 Debug for MerchantAccountInfo
impl Debug for MerchantAccountInfo
Source§impl PartialEq for MerchantAccountInfo
impl PartialEq for MerchantAccountInfo
impl StructuralPartialEq for MerchantAccountInfo
Auto Trait Implementations§
impl Freeze for MerchantAccountInfo
impl RefUnwindSafe for MerchantAccountInfo
impl Send for MerchantAccountInfo
impl Sync for MerchantAccountInfo
impl Unpin for MerchantAccountInfo
impl UnwindSafe for MerchantAccountInfo
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