pub struct UpdateReminderParams {
pub id: String,
pub etag: String,
pub title: Option<String>,
pub notes: Option<String>,
pub due: Option<String>,
pub priority: Option<u8>,
pub completed: Option<bool>,
}Expand description
Arguments for reminders_update.
Fields§
§id: StringOpaque reminder id.
etag: StringThe etag from the last read.
title: Option<String>New title. Omit to keep it.
notes: Option<String>New notes. Omit to keep them.
due: Option<String>New due date. Omit to keep it; an empty string removes it.
priority: Option<u8>New priority, 1 to 9. Omit to keep it; 0 removes it.
completed: Option<bool>Mark completed or open. Omit to keep it.
Trait Implementations§
Source§impl Debug for UpdateReminderParams
impl Debug for UpdateReminderParams
Source§impl Default for UpdateReminderParams
impl Default for UpdateReminderParams
Source§impl<'de> Deserialize<'de> for UpdateReminderParams
impl<'de> Deserialize<'de> for UpdateReminderParams
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 UpdateReminderParams
impl JsonSchema for UpdateReminderParams
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 Forget for UpdateReminderParams
impl Freeze for UpdateReminderParams
impl Move for UpdateReminderParams
impl RefUnwindSafe for UpdateReminderParams
impl Send for UpdateReminderParamswhere
RawVecInner: Send,
impl Sync for UpdateReminderParamswhere
RawVecInner: Sync,
impl Unpin for UpdateReminderParams
impl UnsafeUnpin for UpdateReminderParams
impl UnwindSafe for UpdateReminderParamswhere
RawVecInner: UnwindSafe,
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