Skip to main content

TaskProps

Struct TaskProps 

Source
pub struct TaskProps {
Show 32 fields pub title: String, pub notes: Option<TaskNotes>, pub item_type: TaskType, pub status: TaskStatus, pub stop_date: Option<f64>, pub start_location: TaskStart, pub scheduled_date: Option<i64>, pub today_index_reference: Option<i64>, pub deadline: Option<i64>, pub deadline_suppressed_date: Option<Value>, pub parent_project_ids: Vec<ThingsId>, pub area_ids: Vec<ThingsId>, pub action_group_ids: Vec<ThingsId>, pub tag_ids: Vec<ThingsId>, pub sort_index: i32, pub today_sort_index: i32, pub due_date_offset: i32, pub recurrence_rule: Option<RecurrenceRule>, pub recurrence_template_ids: Vec<ThingsId>, pub instance_creation_suppressed_date: Option<i64>, pub after_completion_reference_date: Option<i64>, pub checklist_item_count: i32, pub instance_creation_paused: bool, pub alarm_time_offset: Option<i64>, pub last_alarm_interaction: Option<f64>, pub evening_bit: i32, pub leaves_tombstone: bool, pub trashed: bool, pub deadline_list: Vec<Value>, pub conflict_overrides: Option<Value>, pub creation_date: Option<f64>, pub modification_date: Option<f64>,
}
Expand description

Task wire properties (p fields for Task6).

Fields§

§title: String

tt: title.

§notes: Option<TaskNotes>

nt: notes payload (legacy XML or modern structured text object).

§item_type: TaskType

tp: task type (Todo, Project, Heading).

§status: TaskStatus

ss: task status (Incomplete, Canceled, Completed).

§stop_date: Option<f64>

sp: completion/cancellation timestamp.

§start_location: TaskStart

st: list location (Inbox, Anytime, Someday).

§scheduled_date: Option<i64>

sr: scheduled/start day timestamp.

§today_index_reference: Option<i64>

tir: today index reference day timestamp.

§deadline: Option<i64>

dd: deadline day timestamp.

§deadline_suppressed_date: Option<Value>

dds: deadline suppressed day timestamp (rare/usually null in observed data).

§parent_project_ids: Vec<ThingsId>

pr: parent project IDs (typically 0 or 1).

§area_ids: Vec<ThingsId>

ar: area IDs (typically 0 or 1).

§action_group_ids: Vec<ThingsId>

agr: heading/action-group IDs (typically 0 or 1).

§tag_ids: Vec<ThingsId>

tg: applied tag IDs.

§sort_index: i32

ix: structural sort index in its container.

§today_sort_index: i32

ti: Today-view sort index.

§due_date_offset: i32

do: due date offset (observed as 0 in typical payloads).

§recurrence_rule: Option<RecurrenceRule>

rr: recurrence rule object (null for non-recurring).

§recurrence_template_ids: Vec<ThingsId>

rt: recurrence template IDs (instance -> template link).

§instance_creation_suppressed_date: Option<i64>

icsd: instance creation suppressed date timestamp for recurrence templates.

§after_completion_reference_date: Option<i64>

acrd: after-completion reference date timestamp for recurrence scheduling.

§checklist_item_count: i32

icc: checklist item count.

§instance_creation_paused: bool

icp: instance creation paused flag.

§alarm_time_offset: Option<i64>

ato: alarm time offset in seconds from day start.

§last_alarm_interaction: Option<f64>

lai: last alarm interaction timestamp.

§evening_bit: i32

sb: evening section bit (1 evening, 0 normal).

§leaves_tombstone: bool

lt: leaves tombstone when deleted.

§trashed: bool

tr: trashed state.

§deadline_list: Vec<Value>

dl: deadline list metadata (rarely used, often empty).

§conflict_overrides: Option<Value>

xx: conflict override metadata (CRDT internals).

§creation_date: Option<f64>

cd: creation timestamp.

§modification_date: Option<f64>

md: last user-modification timestamp.

Trait Implementations§

Source§

impl Clone for TaskProps

Source§

fn clone(&self) -> TaskProps

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TaskProps

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for TaskProps

Source§

fn default() -> TaskProps

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for TaskProps

Source§

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<TaskProps> for Properties

Source§

fn from(value: TaskProps) -> Self

Converts to this type from the input type.
Source§

impl From<TaskProps> for TaskStateProps

Source§

fn from(props: TaskProps) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for TaskProps

Source§

fn eq(&self, other: &TaskProps) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for TaskProps

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for TaskProps

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,