class User is rw { has Int $.id; has Str $.username when not /admin|root/; }