about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-11-04 16:13:42 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-11-04 17:23:33 +0100
commitda6b3752f5350d0fc789c047f66f221f77cd8a95 (patch)
treef7ded947ecb4bd67b7ee5da994f4ccc32389e2db /lib
parentIndexer: Make & implement the trait insert() taking a [word] for insert (diff)
downloadOSSE-da6b3752f5350d0fc789c047f66f221f77cd8a95.tar.gz
OSSE-da6b3752f5350d0fc789c047f66f221f77cd8a95.tar.bz2
OSSE-da6b3752f5350d0fc789c047f66f221f77cd8a95.zip
Indexer: Add and use language field in IndexedResource
Diffstat (limited to 'lib')
-rw-r--r--lib/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/src/lib.rs b/lib/src/lib.rs
index 6966d3e..54e6ea9 100644
--- a/lib/src/lib.rs
+++ b/lib/src/lib.rs
@@ -18,6 +18,7 @@ pub mod lib {
         pub description: Option<String>,
         pub priority: u32,
         pub word: Arc<String>,
+        pub language: Option<String>,
         //maybe in the future we need filetypes?
     }