pub trait UserDetailsClone {
// Required method
fn clone_box(&self) -> Box<dyn UserDetails>;
}Expand description
A user details object must be cloneable.
Therefore it has to implement the UserDetailsClone trait to be cloneable as a boxed object.