pub fn callers(&self) -> Vec<Caller> {
        let mut callers: Vec<Caller> =
            count_duplicates(self.events.iter().flat_map(|event| event.callers.clone()))
                .into_iter()
                .map(|(name, event_count)| Caller { name, event_count })
                .collect();
        callers.sort();
        callers
    }
/// Gets all callers who call for at least one event, in alphabetical order.
Gets all callers who call for at least one event, in alphabetical order.
Gets all callers who call for at least one event in alphabetical order .
pub fn callers(&self) -> Vec<Caller> {
        let mut callers: Vec<Caller> =
            count_duplicates(self.events.iter().flat_map(|event| event.callers.clone()))
                .into_iter()
                .map(|(name, event_count)| Caller { name, event_count })
                .collect();
        callers.sort();
        callers
    }
pub fn callers ( & self ) -> Vec < Caller > { let mut callers : Vec < Caller > = count_duplicates ( self . events . iter ( ) . flat_map ( | event | event . callers . clone ( ) ) ) . into_iter ( ) . map ( | ( name , event_count ) | Caller { name , event_count } ) . collect ( ) ; callers . sort ( ) ; callers }
Gets all callers who call for at least one event, in alphabetical order.
Gets all callers who call for at least one event in alphabetical order .
&self
&self