Skip to main content

observation_from_diagnostics

Function observation_from_diagnostics 

Source
pub fn observation_from_diagnostics(
    path: &str,
    revision: Option<u64>,
    stale: bool,
    items: Vec<String>,
) -> MutationObservationV1
Expand description

Build the observation attached to a mutation. A stale snapshot drops diagnostic items so a previous revision cannot be presented as current.