1 2 3 4 5 6 7 8
#[derive(Debug, Clone, PartialEq, Eq, Hash, PartialOrd, Ord)] pub struct Instrument(pub String); impl Instrument { pub fn new(value: impl Into<String>) -> Self { Self(value.into()) } }