mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-27 12:26:29 -08:00
fix(android): add Serialize derive to plugin arg structs
This commit is contained in:
1 file changed
+3
-3
@@ -3,17 +3,17 @@ use serde::{Deserialize, Serialize};
|
||||
|
||||
use crate::mobile;
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
pub struct DistributorArgs {
|
||||
pub name: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
pub struct TokenArgs {
|
||||
pub token: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize)]
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
pub struct PushNotificationResponse {
|
||||
pub device_token: String,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user