Enum member member.protection

template member
{
  // ...
  enum protection = from.bolts.traits.protectionLevel!self;
  // ...
}

See

bolts.traits.protectionLevel