pub struct TransactionLabelExtractor;Expand description
Transaction label extractor.
Implementations§
Source§impl TransactionLabelExtractor
impl TransactionLabelExtractor
Sourcepub fn extract(transactions: &[BankTransaction]) -> Vec<TransactionLabel>
pub fn extract(transactions: &[BankTransaction]) -> Vec<TransactionLabel>
Extract labels from all transactions.
Sourcepub fn extract_with_features(
transactions: &[BankTransaction],
) -> Vec<TransactionLabel>
pub fn extract_with_features( transactions: &[BankTransaction], ) -> Vec<TransactionLabel>
Extract labels with computed features.
Sourcepub fn summarize(labels: &[TransactionLabel]) -> LabelSummary
pub fn summarize(labels: &[TransactionLabel]) -> LabelSummary
Get summary statistics for labels.
Auto Trait Implementations§
impl Freeze for TransactionLabelExtractor
impl RefUnwindSafe for TransactionLabelExtractor
impl Send for TransactionLabelExtractor
impl Sync for TransactionLabelExtractor
impl Unpin for TransactionLabelExtractor
impl UnwindSafe for TransactionLabelExtractor
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