feat: update to alpha.17, typed mobile plugin IPC arguments (#676)

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
This commit is contained in:
Lucas Fernandes Nogueira
2023-10-29 16:06:44 -03:00
committed by GitHub
parent 76cfdc32b4
commit e438e0a62d
158 changed files with 1677 additions and 1658 deletions
+11 -2
View File
@@ -94,7 +94,7 @@ impl<'de> Deserialize<'de> for ScheduleEvery {
}
#[derive(Debug, Serialize, Deserialize)]
#[serde(tag = "kind", content = "data")]
#[serde(rename_all = "camelCase")]
pub enum Schedule {
At {
#[serde(
@@ -104,10 +104,19 @@ pub enum Schedule {
date: time::OffsetDateTime,
#[serde(default)]
repeating: bool,
#[serde(default)]
allow_while_idle: bool,
},
Interval {
interval: ScheduleInterval,
#[serde(default)]
allow_while_idle: bool,
},
Interval(ScheduleInterval),
Every {
interval: ScheduleEvery,
count: u8,
#[serde(default)]
allow_while_idle: bool,
},
}