1 2 3 4 5 6 7 8
#[derive(PartialEq)] pub struct Scheme<'a>(pub(super) &'a str); impl Scheme<'_> { pub const FILE: Self = Self("file"); pub const HTTP: Self = Self("http"); pub const HTTPS: Self = Self("https"); }