Struct task_hookrs::task::Task [] [src]

pub struct Task {
    // some fields omitted
}

Methods

impl Task
[src]

fn new(status: TaskStatus, uuid: Uuid, entry: Date, description: String, annotations: Option<Vec<Annotation>>, depends: Option<String>, due: Option<Date>, end: Option<Date>, imask: Option<i64>, mask: Option<String>, modified: Option<Date>, parent: Option<Uuid>, priority: Option<TaskPriority>, project: Option<Project>, recur: Option<String>, scheduled: Option<Date>, start: Option<Date>, tags: Option<Vec<Tag>>, until: Option<Date>, wait: Option<Date>) -> Task

fn status(&self) -> &TaskStatus

fn uuid(&self) -> &Uuid

fn entry(&self) -> &Date

fn description(&self) -> &String

fn annotations(&self) -> Option<&Vec<Annotation>>

fn depends(&self) -> Option<&String>

fn due(&self) -> Option<&Date>

fn end(&self) -> Option<&Date>

fn imask(&self) -> Option<&i64>

fn mask(&self) -> Option<&String>

fn modified(&self) -> Option<&Date>

fn parent(&self) -> Option<&Uuid>

fn priority(&self) -> Option<&TaskPriority>

fn project(&self) -> Option<&Project>

fn recur(&self) -> Option<&String>

fn scheduled(&self) -> Option<&Date>

fn start(&self) -> Option<&Date>

fn tags(&self) -> Option<&Vec<Tag>>

fn until(&self) -> Option<&Date>

fn wait(&self) -> Option<&Date>

Trait Implementations

impl Clone for Task
[src]

fn clone(&self) -> Task

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Debug for Task
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Serialize for Task
[src]

fn serialize<S>(&self, serializer: &mut S) -> RResult<(), S::Error> where S: Serializer

Serializes this value into this serializer.

impl Deserialize for Task
[src]

fn deserialize<D>(deserializer: &mut D) -> RResult<Task, D::Error> where D: Deserializer

Deserialize this value given this Deserializer.