pub struct EntityLabelExtractor;Expand description
Entity label extractor.
Implementations§
Source§impl EntityLabelExtractor
impl EntityLabelExtractor
Sourcepub fn extract_customers(customers: &[BankingCustomer]) -> Vec<CustomerLabel>
pub fn extract_customers(customers: &[BankingCustomer]) -> Vec<CustomerLabel>
Extract customer labels.
Sourcepub fn extract_accounts(accounts: &[BankAccount]) -> Vec<AccountLabel>
pub fn extract_accounts(accounts: &[BankAccount]) -> Vec<AccountLabel>
Extract account labels.
Sourcepub fn summarize_customers(labels: &[CustomerLabel]) -> CustomerLabelSummary
pub fn summarize_customers(labels: &[CustomerLabel]) -> CustomerLabelSummary
Get customer label summary.
Sourcepub fn summarize_accounts(labels: &[AccountLabel]) -> AccountLabelSummary
pub fn summarize_accounts(labels: &[AccountLabel]) -> AccountLabelSummary
Get account label summary.
Auto Trait Implementations§
impl Freeze for EntityLabelExtractor
impl RefUnwindSafe for EntityLabelExtractor
impl Send for EntityLabelExtractor
impl Sync for EntityLabelExtractor
impl Unpin for EntityLabelExtractor
impl UnwindSafe for EntityLabelExtractor
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