Module scaffolding_core::defaults
source · Expand description
The defaults module provides the methods for creating deafult values for the Scaffolding common attributes
Functions§
- generate the default value for access management
- adds x days to the timestamp
- adds x months to the timestamp
- adds x years to the timestamp
- generates a uuid v4 value
- provided the default unix epoch time (UTC) as seconds for the timestamp: 9999-12-31 23:59:59
- generate the current unix epoch time (UTC) as seconds