#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Debug)]
pub struct Uri {
uri: String
}
impl Uri {
pub fn new(uri: String) -> Uri {
Uri {
uri: uri
}
}
pub fn to_string(&self) -> &String {
&self.uri
}
pub fn append_resource_path(&mut self, path: String) {
self.uri.push_str(&path.to_string());
}
}