pub fn write_fields(entry: &mut Value, stored: &Stored)Expand description
Write a seed and its parameters onto an entry.
Parameters equal to the default are removed, not written: a field that reads “SHA1” on every entry cannot be told apart from a defaulted one, and removing rather than skipping is what makes re-importing a 60-second seed as a 30-second one actually clear the old period.