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 url: Option<String>,
pub alarms: Option<Vec<AlarmParam>>,
pub recurrence: Option<RecurrenceParam>,
pub tags: Option<Vec<String>>,
}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.
url: Option<String>URL to associate (set to empty string to clear)
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.
Tags (stored as #tagname in notes). Replaces existing tags when provided.
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for UpdateReminderRequest
impl JsonSchema for UpdateReminderRequest
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for UpdateReminderRequest
impl RefUnwindSafe for UpdateReminderRequest
impl Send for UpdateReminderRequest
impl Sync for UpdateReminderRequest
impl Unpin for UpdateReminderRequest
impl UnsafeUnpin for UpdateReminderRequest
impl UnwindSafe for UpdateReminderRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more