pub struct CreateReminderRequest {
pub title: String,
pub list_name: String,
pub notes: Option<String>,
pub priority: Option<Priority>,
pub due_date: Option<String>,
pub start_date: Option<String>,
pub due_date_timezone: Option<String>,
pub geofence: Option<GeofenceInput>,
pub alarms: Option<Vec<AlarmParam>>,
pub recurrence: Option<RecurrenceParam>,
}Fields§
§title: StringThe title/name of the reminder
list_name: StringThe name of the reminder list to add to (REQUIRED - use list_reminder_lists to see available lists)
notes: Option<String>Optional notes/description for the reminder
priority: Option<Priority>Priority: “none”, “low”, “medium”, “high” (high = flagged)
due_date: Option<String>Optional due date in format ‘YYYY-MM-DD’ or ‘YYYY-MM-DD HH:MM’. If only time ‘HH:MM’ is given, today’s date is used.
start_date: Option<String>Optional start date when to begin working (format: ‘YYYY-MM-DD’ or ‘YYYY-MM-DD HH:MM’)
due_date_timezone: Option<String>Optional IANA timezone applied specifically to the due date (e.g. “America/Los_Angeles”). Lets the reminder fire at the same wall-clock time regardless of the device’s current zone.
geofence: Option<GeofenceInput>Optional geofence — attaches a location-based alarm with the given
title/lat/lng/radius/proximity. Triggers a Location permission
prompt the first time it’s used. This is the only location path
iCloud Reminders honors; the plain location and rich-link
structuredLocation properties on EKReminder are silently
dropped by the iCloud daemon and so aren’t exposed here.
alarms: Option<Vec<AlarmParam>>Optional alarms (replaces all existing). Each alarm can be time-based or location-based.
recurrence: Option<RecurrenceParam>Optional recurrence rule (replaces existing)
Trait Implementations§
Source§impl Debug for CreateReminderRequest
impl Debug for CreateReminderRequest
Source§impl<'de> Deserialize<'de> for CreateReminderRequest
impl<'de> Deserialize<'de> for CreateReminderRequest
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 CreateReminderRequest
impl JsonSchema for CreateReminderRequest
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