fn qr_data(&self) -> String {
        let mut data = vec![
            Self::QR_TYPE.to_string(),
            Self::VERSION.to_string(),
            Self::CODING.to_string(),
            self.account.electronic_str().to_string(),
        ];
        data.extend(self.creditor.data_list());
        data.extend(vec!["".into(); 7]);
        data.extend(vec![
            self.amount.map(|v| format!("{:.2}", v)).unwrap_or_default(),
            self.currency.to_string(),
        ]);
        data.extend(
            self.debtor
                .as_ref()
                .map(|v| v.data_list())
                .unwrap_or_else(|| vec!["".into(); 7]),
        );
        data.extend(self.reference.data_list());
        data.extend(vec![self.extra_infos.clone().unwrap_or_default()]);
        data.push("EPD".to_string());
        data.extend(self.alternative_processes.clone());

        data.join("\r\n")
    }
/// Return data to be encoded in the QR code in the standard text representation of a list of strings.
Return data to be encoded in the QR code in the standard text representation of a list of strings.
Return data to be encoded in the QR code in the standard text representation of a list of strings .
fn qr_data(&self) -> String {
        let mut data = vec![
            Self::QR_TYPE.to_string(),
            Self::VERSION.to_string(),
            Self::CODING.to_string(),
            self.account.electronic_str().to_string(),
        ];
        data.extend(self.creditor.data_list());
        data.extend(vec!["".into(); 7]);
        data.extend(vec![
            self.amount.map(|v| format!("{:.2}", v)).unwrap_or_default(),
            self.currency.to_string(),
        ]);
        data.extend(
            self.debtor
                .as_ref()
                .map(|v| v.data_list())
                .unwrap_or_else(|| vec!["".into(); 7]),
        );
        data.extend(self.reference.data_list());
        data.extend(vec![self.extra_infos.clone().unwrap_or_default()]);
        data.push("EPD".to_string());
        data.extend(self.alternative_processes.clone());
        data.join("\r\n")
    }
fn qr_data ( & self ) -> String { let mut data = vec ! [ Self QR_TYPE to_string ( ) Self VERSION to_string ( ) Self CODING to_string ( ) self account electronic_str ( ) to_string ( ) ] ; data . extend ( self . creditor . data_list ( ) ) ; data . extend ( vec ! [ " " into ( ) 7 ] ) ; data . extend ( vec ! [ self amount map ( v format ( " " v ) ) unwrap_or_default ( ) self currency to_string ( ) ] ) ; data . extend ( self . debtor . as_ref ( ) . map ( | v | v . data_list ( ) ) . unwrap_or_else ( | | vec ! [ " " into ( ) 7 ] ) , ) ; data . extend ( self . reference . data_list ( ) ) ; data . extend ( vec ! [ self extra_infos clone ( ) unwrap_or_default ( ) ] ) ; data . push ( " " . to_string ( ) ) ; data . extend ( self . alternative_processes . clone ( ) ) ; data . join ( " \r \n " ) }
Return data to be encoded in the QR code in the standard text representation of a list of strings.
Return data to be encoded in the QR code in the standard text representation of a list of strings .
&self
&self