pub struct TaskBuilder { /* private fields */ }
Expand description

Builder for Task.

Implementations

The temporary assigned task id

The status of the task

The uuid which identifies the task and is important for syncing

The entry date, when this task was created

The description of the task (i.e. its main content) This field is the only mandatory field, when using the TaskBuilder.

A list of annotations with timestamps

The uuids of other tasks which have to be completed before this one becomes unblocked.

The due date of the task

When the task was last deleted or completed

The imask is used internally for recurrence

The mask is used internally for recurrence

When the task was last modified

A task can have a parent task

The priority of the task

A task can be part of a project. Typically of the form “project.subproject.subsubproject”

The timespan after which this task should recur

When the task becomes ready

When the task becomes active

The tags associated with the task

When the recurrence stops

This hides the task until the wait date

A map of user defined attributes

Builds a new Task.

Errors

If a required field has not been initialized.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.