pub use crate::request::extension::{Extension, MissingExtension};
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub struct ShapeId {
absolute: &'static str,
namespace: &'static str,
name: &'static str,
}
impl ShapeId {
#[doc(hidden)]
pub const fn new(absolute: &'static str, namespace: &'static str, name: &'static str) -> Self {
Self {
absolute,
namespace,
name,
}
}
pub fn namespace(&self) -> &'static str {
self.namespace
}
pub fn name(&self) -> &'static str {
self.name
}
pub fn absolute(&self) -> &'static str {
self.absolute
}
}