Skip to main content

default_timestamp

Function default_timestamp 

Source
pub fn default_timestamp() -> String
Expand description

Default persisted-record timestamp: seconds since Unix epoch, as a string. Sortable, unambiguous, and dependency-free. Callers that want a human-readable format should overwrite the timestamp field themselves (e.g. via with_timestamp).