pub struct InvoiceParser;Implementations§
Source§impl InvoiceParser
impl InvoiceParser
pub fn parse_file<P: AsRef<Path>>(path: P) -> Result<ParseResult>
pub fn parse_pdf<P: AsRef<Path>>(path: P) -> Result<ParseResult>
pub fn parse_pdf_bytes(bytes: &[u8]) -> Result<ParseResult>
pub fn parse_xlsx<P: AsRef<Path>>(path: P) -> Result<ParseResult>
pub fn parse_text(text: &str) -> Result<Invoice>
Auto Trait Implementations§
impl Freeze for InvoiceParser
impl RefUnwindSafe for InvoiceParser
impl Send for InvoiceParser
impl Sync for InvoiceParser
impl Unpin for InvoiceParser
impl UnsafeUnpin for InvoiceParser
impl UnwindSafe for InvoiceParser
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