pub struct CreateReminderPromptArgs {
pub title: String,
pub notes: Option<String>,
pub list_name: Option<String>,
pub priority: Option<u8>,
pub due_date: Option<String>,
}Fields§
§title: StringTitle of the reminder
notes: Option<String>Detailed notes/context for the reminder
list_name: Option<String>Name of the reminder list to add to
priority: Option<u8>Priority (0 = none, 1-4 = high, 5 = medium, 6-9 = low)
due_date: Option<String>Due date in format “YYYY-MM-DD” or “YYYY-MM-DD HH:MM”
Trait Implementations§
Source§impl Debug for CreateReminderPromptArgs
impl Debug for CreateReminderPromptArgs
Source§impl<'de> Deserialize<'de> for CreateReminderPromptArgs
impl<'de> Deserialize<'de> for CreateReminderPromptArgs
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 CreateReminderPromptArgs
impl JsonSchema for CreateReminderPromptArgs
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 CreateReminderPromptArgs
impl RefUnwindSafe for CreateReminderPromptArgs
impl Send for CreateReminderPromptArgs
impl Sync for CreateReminderPromptArgs
impl Unpin for CreateReminderPromptArgs
impl UnsafeUnpin for CreateReminderPromptArgs
impl UnwindSafe for CreateReminderPromptArgs
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