mirror of
https://github.com/house-of-vanity/v2-uri-parser.git
synced 2025-12-18 07:47:53 +00:00
feat: get config metadata
This will replace --get-name add provide both name and protocol in a single json object
This commit is contained in:
@@ -265,3 +265,10 @@ pub struct RawData {
|
||||
pub server_method: Option<String>,
|
||||
pub username: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize)]
|
||||
#[allow(non_snake_case)]
|
||||
pub struct ConfigMetaData {
|
||||
pub name: String,
|
||||
pub protocol: String,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user