Skip to main content

parse_session_stats

Function parse_session_stats 

Source
pub fn parse_session_stats(saved: &Value) -> Option<Value>
Expand description

parseSessionStats: a stored document with every field present, or None when saved is not one (not an object, or another version). Unknown fields are dropped and malformed counters read as zero.