use v6.e.PREVIEW; use JSON::Class:auth; # Additional header links unit class HeaderLink is json(:pretty); has Str:D $.link is required is rw; has Str:D $.text is required is rw; has Str $.icon is rw;