pub struct UpdateReminderRequest {
pub reminder_id: String,
pub list_name: Option<String>,
pub title: Option<String>,
pub notes: Option<String>,
pub completed: Option<bool>,
pub priority: Option<Priority>,
pub due_date: Option<String>,
pub start_date: Option<String>,
pub due_date_timezone: Option<String>,
pub completion_date: Option<String>,
pub alarms: Option<Vec<AlarmParam>>,
pub recurrence: Option<RecurrenceParam>,
}Fields§
§reminder_id: StringThe unique identifier of the reminder to update
list_name: Option<String>The name of the reminder list to move this reminder to
title: Option<String>New title for the reminder
notes: Option<String>New notes for the reminder
completed: Option<bool>Mark as completed (true) or incomplete (false)
priority: Option<Priority>Priority: “none”, “low”, “medium”, “high” (high = flagged)
due_date: Option<String>New due date in format ‘YYYY-MM-DD’ or ‘YYYY-MM-DD HH:MM’. Set to empty string to clear.
start_date: Option<String>New start date. Set to empty string to clear.
due_date_timezone: Option<String>IANA timezone applied specifically to the due date (e.g. “America/Los_Angeles”). Set to empty string to clear.
completion_date: Option<String>Explicit completion timestamp. Setting this implicitly marks the
reminder completed; setting it to "" clears completion (and the
reminder becomes incomplete). Apple’s setCompletionDate: is
the authoritative completion toggle, so this wins over completed
when both are provided. ISO format: ‘YYYY-MM-DD’ or
‘YYYY-MM-DDTHH:MM:SS±HH:MM’.
alarms: Option<Vec<AlarmParam>>Alarms (replaces all existing when provided). Pass empty array to clear.
recurrence: Option<RecurrenceParam>Recurrence rule (replaces existing when provided). Omit to keep, set frequency to “” to clear.
Trait Implementations§
Source§impl Debug for UpdateReminderRequest
impl Debug for UpdateReminderRequest
Source§impl<'de> Deserialize<'de> for UpdateReminderRequest
impl<'de> Deserialize<'de> for UpdateReminderRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for UpdateReminderRequest
impl JsonSchema for UpdateReminderRequest
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more