Derive Macro PublicKey

Source
#[derive(PublicKey)]
{
    // Attributes available to this derive:
    #[PrivateKeyType]
}