refactor: import profile

This commit is contained in:
GyDi committed 2021-12-14 22:33:54 +08:00
1 parent b5bb39ef3d
commit eb3daf7b3e
4 files changed
+85 -70

No files matched your search

+9
View File
@@ -39,3 +39,12 @@ pub struct ProfileExtra {
pub total: u64,
pub expire: u64,
}
#[derive(Default, Debug, Clone, Deserialize, Serialize)]
/// the result from url
pub struct ProfileResponse {
pub name: String,
pub file: String,
pub data: String,
pub extra: ProfileExtra,
}