Please consider the following example (playground):
struct Animal<\'a> { format: &\'a dyn Fn() -> (), }