Aded ranking of resolvers by a weight value

This commit is contained in:
Slatian
2023-08-05 23:19:53 +02:00
parent 55897585ff
commit 5c7d880733
5 changed files with 16 additions and 7 deletions

View File

@ -1,4 +1,5 @@
use serde::{Deserialize,Serialize};
/* Response format */
#[derive(Deserialize, Serialize, Clone, Copy)]
@ -45,5 +46,6 @@ pub struct QuerySettings {
pub struct Selectable {
pub id: String,
pub name: String,
pub weight: i32,
}