pub trait SessionLike {
// Required methods
fn started(&self) -> DateTime<Utc>;
fn distinct_id(&self) -> Option<&String>;
fn total_count(&self) -> u32;
fn abnormal_count(&self) -> u32;
fn crashed_count(&self) -> u32;
fn all_errors(&self) -> Option<SessionErrored>;
fn abnormal_mechanism(&self) -> AbnormalMechanism;
}
Expand description
Common interface for SessionUpdate
and SessionAggregateItem
.