1 2 3 4 5 6 7 8 9 10 11 12 13
pub struct LicenseOptions { path: Box<str>, } impl LicenseOptions { pub fn new(path: &str) -> Self { LicenseOptions { path: path.into() } } pub fn path(&self) -> &str { &self.path } }