var searchIndex = {}; searchIndex["task_hookrs"] = {"doc":"This crate exports functionality to import and export taskwarrior-compatible JSON by\ntranslating the JSON into rust types and vice-versa.","items":[[0,"annotation","task_hookrs","Module containing types and functions for annotations of tasks",null,null],[3,"Annotation","task_hookrs::annotation","Annotation type for task annotations.\nEach annotation in taskwarrior consists of a date and a description,\nthe date is named "entry", the description "description" in the JSON export.",null,null],[11,"fmt","","",0,null],[11,"clone","","",0,null],[11,"new","","Create a new Annotation object",0,{"inputs":[{"name":"date"},{"name":"string"}],"output":{"name":"annotation"}}],[11,"entry","","Get the entry date",0,null],[11,"description","","Get the description text",0,null],[11,"serialize","","",0,null],[11,"deserialize","","",0,{"inputs":[{"name":"d"}],"output":{"name":"rresult"}}],[0,"date","task_hookrs","Module for wrapping chrono::naive::datetime::NaiveDateTime",null,null],[3,"Date","task_hookrs::date","Date is a NaiveDateTime-Wrapper object to be able to implement foreign traits on it",null,null],[7,"TASKWARRIOR_DATETIME_TEMPLATE","","The date-time parsing template used to parse the date time data exported by taskwarrior.",null,null],[11,"eq","","",1,null],[11,"ne","","",1,null],[11,"hash","","",1,null],[11,"fmt","","",1,null],[11,"clone","","",1,null],[11,"deref","","",1,null],[11,"deref_mut","","",1,null],[11,"from","","",1,{"inputs":[{"name":"naivedatetime"}],"output":{"name":"date"}}],[11,"serialize","","",1,null],[11,"deserialize","","",1,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[0,"error","task_hookrs","Error module, containing error types",null,null],[3,"TaskError","task_hookrs::error","",null,null],[4,"TaskErrorKind","","",null,null],[13,"ParserError","","Error kind indicating that the JSON parser failed",2,null],[13,"NoStatus","","Error kind indicating that the Status of a task is missing",2,null],[13,"ReaderError","","Error kind indicating that the Reader failed to read something",2,null],[11,"eq","","",2,null],[11,"fmt","","",2,null],[11,"clone","","",2,null],[11,"fmt","","",2,null],[11,"fmt","","",3,null],[11,"new","","",3,{"inputs":[{"name":"taskerrorkind"},{"name":"option"}],"output":{"name":"taskerror"}}],[11,"err_type","","",3,null],[11,"fmt","","",3,null],[11,"description","","",3,null],[11,"cause","","",3,null],[0,"import","task_hookrs","Module containing the `import()` function",null,null],[5,"import","task_hookrs::import","Import taskwarrior-exported JSON. This expects an JSON Array of objects, as exported by\ntaskwarrior.",null,{"inputs":[{"name":"r"}],"output":{"name":"result"}}],[5,"import_task","","Import a single JSON-formatted Task",null,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[5,"import_tasks","","Reads line by line and tries to parse a task-object per line.",null,{"inputs":[{"name":"br"}],"output":{"name":"vec"}}],[0,"priority","task_hookrs","Module containing TaskPriority types and trait impls",null,null],[4,"TaskPriority","task_hookrs::priority","Enum for the priorities taskwarrior supports.",null,null],[13,"Low","","Low prio for a Task",4,null],[13,"Medium","","Medium prio for a Task",4,null],[13,"High","","High prio for a Task",4,null],[11,"eq","","",4,null],[11,"clone","","",4,null],[11,"fmt","","",4,null],[11,"serialize","","",4,null],[11,"deserialize","","",4,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[0,"project","task_hookrs","Module containing `Project` type",null,null],[6,"Project","task_hookrs::project","Typedef for Project type.",null,null],[0,"result","task_hookrs","Module containing `Result` type",null,null],[6,"Result","task_hookrs::result","Result type wrapping the standard std::result::Result type",null,null],[0,"status","task_hookrs","Module containing `TaskStatus` type and trait impls",null,null],[4,"TaskStatus","task_hookrs::status","Enum for status taskwarrior supports.",null,null],[13,"Pending","","Pening status type",5,null],[13,"Deleted","","Deleted status type",5,null],[13,"Completed","","Completed status type",5,null],[13,"Waiting","","Waiting status type",5,null],[13,"Recurring","","Recurring status type",5,null],[11,"eq","","",5,null],[11,"fmt","","",5,null],[11,"clone","","",5,null],[11,"fmt","","",5,null],[11,"serialize","","",5,null],[11,"deserialize","","",5,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[0,"tag","task_hookrs","Module containing `Tag` type",null,null],[6,"Tag","task_hookrs::tag","type definition for tags",null,null],[0,"task","task_hookrs","Module containing `Task` type as well as trait implementations",null,null],[3,"Task","task_hookrs::task","Task type",null,null],[11,"clone","","",6,null],[11,"fmt","","",6,null],[11,"new","","Create a new Task instance",6,{"inputs":[{"name":"taskstatus"},{"name":"uuid"},{"name":"date"},{"name":"string"},{"name":"option"},{"name":"option"},{"name":"option"},{"name":"option"},{"name":"option"},{"name":"option"},{"name":"option"},{"name":"option"},{"name":"option"},{"name":"option"},{"name":"option"},{"name":"option"},{"name":"option"},{"name":"option"},{"name":"option"},{"name":"option"}],"output":{"name":"task"}}],[11,"status","","Get the status of the task",6,null],[11,"uuid","","Get the uuid of the task",6,null],[11,"entry","","Get the entry date of the task",6,null],[11,"description","","Get the description of the task",6,null],[11,"annotations","","Get the annotations of the task",6,null],[11,"add_annotation","","Add an annotation to this task",6,null],[11,"add_annotations","","Add annotations to this task",6,null],[11,"depends","","Get the depends of the task",6,null],[11,"due","","Get the due date of the task",6,null],[11,"end","","Get the end date of the task",6,null],[11,"imask","","Get the imask of the task",6,null],[11,"mask","","Get the mask of the task",6,null],[11,"modified","","Get the modified date of the task",6,null],[11,"parent","","Get the parent of the task",6,null],[11,"priority","","Get the priority of the task",6,null],[11,"project","","Get the project of the task",6,null],[11,"recur","","Get the recur of the task",6,null],[11,"scheduled","","Get the scheduled date of the task",6,null],[11,"start","","Get the start date of the task",6,null],[11,"tags","","Get the tags of the task",6,null],[11,"until","","Get the until date of the task",6,null],[11,"wait","","Get the wait date of the task",6,null],[11,"serialize","","",6,null],[11,"deserialize","","",6,{"inputs":[{"name":"d"}],"output":{"name":"rresult"}}]],"paths":[[3,"Annotation"],[3,"Date"],[4,"TaskErrorKind"],[3,"TaskError"],[4,"TaskPriority"],[4,"TaskStatus"],[3,"Task"]]}; initSearch(searchIndex);