pub struct ChecklistItemPatch {
pub title: Option<String>,
pub status: Option<TaskStatus>,
pub task_ids: Option<Vec<ThingsId>>,
pub sort_index: Option<i32>,
pub creation_date: Option<f64>,
pub modification_date: Option<f64>,
}Expand description
Sparse patch fields for ChecklistItem t=1 updates.
Fields§
§title: Option<String>tt: title.
status: Option<TaskStatus>ss: status.
task_ids: Option<Vec<ThingsId>>ts: parent task IDs.
sort_index: Option<i32>ix: sort index.
creation_date: Option<f64>cd: creation timestamp.
modification_date: Option<f64>md: modification timestamp.
Implementations§
Trait Implementations§
Source§impl Clone for ChecklistItemPatch
impl Clone for ChecklistItemPatch
Source§fn clone(&self) -> ChecklistItemPatch
fn clone(&self) -> ChecklistItemPatch
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChecklistItemPatch
impl Debug for ChecklistItemPatch
Source§impl Default for ChecklistItemPatch
impl Default for ChecklistItemPatch
Source§fn default() -> ChecklistItemPatch
fn default() -> ChecklistItemPatch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChecklistItemPatch
impl<'de> Deserialize<'de> for ChecklistItemPatch
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 From<ChecklistItemPatch> for ChecklistItemStateProps
impl From<ChecklistItemPatch> for ChecklistItemStateProps
Source§fn from(patch: ChecklistItemPatch) -> Self
fn from(patch: ChecklistItemPatch) -> Self
Converts to this type from the input type.
Source§impl From<ChecklistItemPatch> for Properties
impl From<ChecklistItemPatch> for Properties
Source§fn from(value: ChecklistItemPatch) -> Self
fn from(value: ChecklistItemPatch) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ChecklistItemPatch
impl PartialEq for ChecklistItemPatch
Source§impl Serialize for ChecklistItemPatch
impl Serialize for ChecklistItemPatch
impl StructuralPartialEq for ChecklistItemPatch
Auto Trait Implementations§
impl Freeze for ChecklistItemPatch
impl RefUnwindSafe for ChecklistItemPatch
impl Send for ChecklistItemPatch
impl Sync for ChecklistItemPatch
impl Unpin for ChecklistItemPatch
impl UnsafeUnpin for ChecklistItemPatch
impl UnwindSafe for ChecklistItemPatch
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