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 url: Option<String>,
pub alarms: Option<Vec<AlarmParam>>,
pub recurrence: Option<RecurrenceParam>,
pub tags: Option<Vec<String>>,
}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’)
url: Option<String>Optional URL to associate with the reminder
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)
Optional tags (stored as #tagname in notes). Replaces existing tags when provided.
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for CreateReminderRequest
impl JsonSchema for CreateReminderRequest
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 CreateReminderRequest
impl RefUnwindSafe for CreateReminderRequest
impl Send for CreateReminderRequest
impl Sync for CreateReminderRequest
impl Unpin for CreateReminderRequest
impl UnsafeUnpin for CreateReminderRequest
impl UnwindSafe for CreateReminderRequest
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