Trait scaffolding_core::Scaffolding
source · pub trait Scaffolding {
// Provided methods
fn id() -> String { ... }
fn add_days(dtm: i64, days: i64) -> i64 { ... }
fn add_months(dtm: i64, months: u32) -> i64 { ... }
fn add_years(dtm: i64, years: u32) -> i64 { ... }
fn never() -> i64 { ... }
fn now() -> i64 { ... }
}
Expand description
The core behavior of an Scaffolding object
Provided Methods§
sourcefn add_months(dtm: i64, months: u32) -> i64
fn add_months(dtm: i64, months: u32) -> i64
adds x months to the timestamp
Object Safety§
This trait is not object safe.