pub enum Boleto {
Arrecadacao(Arrecadacao),
Cobranca(Cobranca),
}Variants§
Arrecadacao(Arrecadacao)
Cobranca(Cobranca)
Implementations§
Source§impl Boleto
impl Boleto
pub fn new(value: &[u8]) -> Result<Self, BoletoError>
pub fn calculate_digito_verificador(value: &[u8]) -> Result<u8, BoletoError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Boleto
impl RefUnwindSafe for Boleto
impl Send for Boleto
impl Sync for Boleto
impl Unpin for Boleto
impl UnwindSafe for Boleto
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