pub struct ImportanceSignals {Show 13 fields
pub is_mutual_contact: bool,
pub is_direct_recipient: bool,
pub is_reply_to_my_email: bool,
pub has_action_items: bool,
pub is_vip_sender: bool,
pub is_bulk_sender: bool,
pub is_mailing_list: bool,
pub is_automated: bool,
pub has_tracking_pixel: bool,
pub is_template_heavy: bool,
pub text_to_html_ratio: f32,
pub link_count: usize,
pub contact_importance_bias: f32,
}Expand description
Signals contributing to the importance score.
Fields§
§is_mutual_contact: boolSender has been emailed by the user before (mutual relationship).
is_direct_recipient: boolUser is in To: (not Cc: or Bcc:).
is_reply_to_my_email: boolMessage references one the user previously sent.
has_action_items: boolLLM analysis surfaced one or more action items.
is_vip_sender: boolSender is on the user’s explicit VIP list.
is_bulk_sender: boolList-* headers indicate mailing-list / bulk traffic.
is_mailing_list: boolSpecifically a mailing-list message (List-Id present).
is_automated: boolSender local-part matches no-reply@ / notification@ / etc.
has_tracking_pixel: boolTracking pixel was found in the body.
is_template_heavy: boolHTML is mostly chrome — table layout, lots of inline styles.
text_to_html_ratio: f32Ratio of plain-text bytes to total HTML bytes.
link_count: usizeCount of <a> tags in the body.
contact_importance_bias: f32Manual per-contact bias from the user’s address book.
Trait Implementations§
Source§impl Clone for ImportanceSignals
impl Clone for ImportanceSignals
Source§fn clone(&self) -> ImportanceSignals
fn clone(&self) -> ImportanceSignals
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImportanceSignals
impl Debug for ImportanceSignals
Auto Trait Implementations§
impl Freeze for ImportanceSignals
impl RefUnwindSafe for ImportanceSignals
impl Send for ImportanceSignals
impl Sync for ImportanceSignals
impl Unpin for ImportanceSignals
impl UnsafeUnpin for ImportanceSignals
impl UnwindSafe for ImportanceSignals
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