aboutsummaryrefslogtreecommitdiff
path: root/src/uri.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/uri.rs')
-rw-r--r--src/uri.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/uri.rs b/src/uri.rs
new file mode 100644
index 0000000..2d77df2
--- /dev/null
+++ b/src/uri.rs
@@ -0,0 +1,12 @@
+use std::fmt::Display;
+
+pub struct Uri {
+ pub content: String,
+}
+
+impl Display for Uri {
+ fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
+ write!(f, "{}", self.content)?;
+ Ok(())
+ }
+}