pub struct RoutingStats {
pub total_leads: usize,
pub assigned_leads: usize,
pub unassigned_leads: usize,
pub average_fit_score: f64,
pub total_estimated_value: f64,
pub summary: String,
}Expand description
Routing statistics
Fields§
§total_leads: usizeTotal leads to route
assigned_leads: usizeSuccessfully assigned leads
unassigned_leads: usizeLeads that could not be assigned
average_fit_score: f64Average fit score of assignments
total_estimated_value: f64Total estimated value of assigned leads
summary: StringSummary message
Trait Implementations§
Source§impl Clone for RoutingStats
impl Clone for RoutingStats
Source§fn clone(&self) -> RoutingStats
fn clone(&self) -> RoutingStats
Returns a duplicate of the value. Read more
1.0.0 · 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 RoutingStats
impl Debug for RoutingStats
Source§impl Default for RoutingStats
impl Default for RoutingStats
Source§fn default() -> RoutingStats
fn default() -> RoutingStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RoutingStats
impl<'de> Deserialize<'de> for RoutingStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RoutingStats
impl RefUnwindSafe for RoutingStats
impl Send for RoutingStats
impl Sync for RoutingStats
impl Unpin for RoutingStats
impl UnsafeUnpin for RoutingStats
impl UnwindSafe for RoutingStats
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