mirror of
https://codeberg.org/slatian/service.echoip-slatecave.git
synced 2025-07-16 14:03:28 +02:00
Aded ranking of resolvers by a weight value
This commit is contained in:
@ -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,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user