pub trait Init { // Required method fn init(self) -> Self where Self: Sized; }
A trait for creating custom initialization routines for models or other entities.
consumes the current instance to initialize a new one