[−][src]Struct brcode::BrCode
Fields
payload_version: u8initiation_method: Option<u8>merchant_account_information: Option<String>merchant_information: Vec<MerchantInfo>merchant_category_code: u32merchant_name: Stringmerchant_city: Stringconvenience: Option<String>convenience_fee_fixed: Option<String>convenience_fee_percentage: Option<String>postal_code: Option<String>currency: Stringamount: Option<f64>country_code: Stringfield_template: Vec<Label>crc1610: Stringtemplates: Option<Vec<Template>>Implementations
impl BrCode[src]
pub fn is_pix(&self) -> bool[src]
pub fn get_transaction_id(&self) -> Option<String>[src]
pub fn get_alias(&self) -> Option<Vec<String>>[src]
pub fn get_message(&self) -> Option<Vec<String>>[src]
pub fn encode(self) -> String[src]
Trait Implementations
impl Clone for BrCode[src]
impl Debug for BrCode[src]
impl<'de> Deserialize<'de> for BrCode[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Deserialize for BrCode[src]
fn deserialize(edn: &Edn) -> Result<Self, EdnError>[src]
impl Display for BrCode[src]
impl From<Vec<(usize, Data)>> for BrCode[src]
impl PartialEq<BrCode> for BrCode[src]
impl Serialize for BrCode[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl Serialize for BrCode[src]
impl StructuralPartialEq for BrCode[src]
Auto Trait Implementations
impl RefUnwindSafe for BrCode
impl Send for BrCode
impl Sync for BrCode
impl Unpin for BrCode
impl UnwindSafe for BrCode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,