mpl-token-metadata 5.1.2-alpha.2

Metaplex Token Metadata SDK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std::fmt::{Display, Formatter, Result};

use crate::types::HolderDelegateRole;

pub type HolderDelegateRoleSeed = HolderDelegateRole;

impl Display for HolderDelegateRole {
    fn fmt(&self, f: &mut Formatter) -> Result {
        let message = match self {
            HolderDelegateRole::PrintDelegate => "print_delegate".to_string(),
        };

        write!(f, "{message}")
    }
}