pub fn record(
ledger: Option<&str>,
inputs: &Inputs<'_>,
engine: &str,
recorded: &str,
) -> Result<(Receipt, String), ReceiptError>Expand description
receipt, refused unless engine is held (engine_held) and ledger (none: a new ledger) holds no receipt of
the same measurement; with the ledger it is appended to, as written.