pub const GET: Method = Method {
repr: Repr::WellKnown(WellKnown::Get),
};
pub const POST: Method = Method {
repr: Repr::WellKnown(WellKnown::Post),
};
#[derive(Debug, Clone, PartialEq)]
pub struct Method {
repr: Repr,
}
#[derive(Debug, Clone, PartialEq)]
enum Repr {
WellKnown(WellKnown),
}
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
enum WellKnown {
Get,
Post,
}