Created
September 22, 2020 10:44
-
-
Save cuongld2/2726b40f3b9877e0163f200f6cc9ab4c to your computer and use it in GitHub Desktop.
Define public struct
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[derive(Deserialize, Debug)] | |
pub struct SearchElement{ | |
pub auth_resource_path: String, | |
pub field: String, | |
pub id: String, | |
pub project_id: String, | |
#[serde(rename = "type")] | |
pub typepp: String, | |
pub value: String, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment